ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Yuya Nishihara 589917a53c repo_path: micro-optimize .join() to not reallocate cloned Vec
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.
2023-06-15 00:45:07 +09:00
..
benches benches: group unchanged/modified/reversed-line diffs together 2023-03-27 23:38:56 +09:00
gen-protos cargo: bump prost-build from 0.11.8 to 0.11.9 2023-04-14 16:11:09 +00:00
src repo_path: micro-optimize .join() to not reallocate cloned Vec 2023-06-15 00:45:07 +09:00
tests conflicts: remove ConflictId from update_conflict_from_content() 2023-06-13 08:49:46 +02:00
testutils cargo: bump tempfile from 3.5.0 to 3.6.0 2023-06-08 22:53:55 -07:00
build.rs
Cargo.toml cargo: bump rustix from 0.37.19 to 0.37.20 2023-06-12 12:29:26 -07:00