##// END OF EJS Templates
rust: Make NodePrefix allocation-free and Copy, remove NodePrefixRef...
rust: Make NodePrefix allocation-free and Copy, remove NodePrefixRef The `*Ref` struct only existed to avoid allocating `Vec`s when cloning `NodePrefix`, but we can avoid having `Vec` in the first place by using an inline array instead. This makes `NodePrefix` 21 bytes (with 1 for the length) which is smaller than before as `Vec` alone is 24 bytes. Differential Revision: https://phab.mercurial-scm.org/D9863
Simon Sapin -
r47160:645ee722 default
Show More
Name Size Modified Last Commit Author
/ rust / hg-core / src
config
dirstate
operations
revlog
utils
ancestors.rs Loading ...
config.rs Loading ...
copy_tracing.rs Loading ...
dagops.rs Loading ...
dirstate.rs Loading ...
discovery.rs Loading ...
filepatterns.rs Loading ...
lib.rs Loading ...
matchers.rs Loading ...
repo.rs Loading ...
requirements.rs Loading ...
revlog.rs Loading ...
testing.rs Loading ...
utils.rs Loading ...