mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-02 18:01:05 +00:00
589917a53c
While playing with perf.data captured with "jj log", I noticed RepoPath::join() has measurable cost. The first half is small alloc()s for Vec and Strings, and the latter is realloc() on Vec::push(). Removing realloc() is easy, so let's do that. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |