##// 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:

r47036:e74274fc default
r47533:c94fa884 default
Show More
requirements-windows.txt.in
11 lines | 316 B | text/plain | TextLexer
/ contrib / packaging / requirements-windows.txt.in
docutils
# Pinned to an old version because 0.20 drops Python 3 compatibility.
dulwich < 0.20 ; python_version <= '2.7'
dulwich ; python_version >= '3'
keyring
pygit2 ; python_version >= '3'
pygments
# Need to list explicitly so dependency gets pulled in when
# not running on Windows.
pywin32-ctypes
windows-curses