##// END OF EJS Templates
rust: Preallocate the returned `Vec` in `utils::files::relativize_path`...
rust: Preallocate the returned `Vec` in `utils::files::relativize_path` Profiling `rhg files > /dev/null` on an old snapshot of mozilla-central (with `perf` and the Firefox Profiler: https://github.com/firefox-devtools/profiler/blob/main/docs-user/guide-perf-profiling.md) showed non-trivial time spend in this function and in `realloc`. This change makes the wall-clock time for that process on my machine go from ~190 ms to ~150 ms. Differential Revision: https://phab.mercurial-scm.org/D10199

File last commit:

r38031:6f5b4cee default
r47533:c94fa884 default
Show More
linux-wheel-centos5-blacklist
3 lines | 59 B | text/plain | TextLexer
/ contrib / packaging / linux-wheel-centos5-blacklist
test-convert-git.t
test-subrepo-git.t
test-patchbomb-tls.t