mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
eb7495935f
Summary: We are using the upperbound of `<[u8]>::split`'s iterator as the value for `with_capacity`, however this is incredibly pessimistic, and as a result we overallocate. Let's just make an initial pass and count the actual number. Reviewed By: RajivTS Differential Revision: D49951367 fbshipit-source-id: c3ce6fa0d4125f2cac26c9ea017a0992f9291397 |
||
---|---|---|
.. | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
testlib | ||
.clang-tidy | ||
.gitignore | ||
.mononoke_test_file | ||
Eden.project.toml |