##// END OF EJS Templates
rust-nodemap: input/output primitives...
rust-nodemap: input/output primitives These allow to initiate a `NodeTree` from an immutable opaque sequence of bytes, which could be passed over from Python (extracted from a `PyBuffer`) or directly mmapped from a file. Conversely, we can consume a `NodeTree`, extracting the bytes that express what has been added to the immutable part, together with the original immutable part. This gives callers the choice to start a new Nodetree. After writing to disk, some would prefer to reread for best guarantees (very cheap if mmapping), some others will find it more convenient to grow the memory that was considered immutable in the `NodeTree` and continue from there. This is enough to build examples running on real data and start gathering performance hints. Differential Revision: https://phab.mercurial-scm.org/D7796
Georges Racinet -
r44869:a98ba698 default
Show More
Name Size Modified Last Commit Author
/ rust / hg-core / src / utils
files.rs Loading ...
hg_path.rs Loading ...
path.rs Loading ...
path_auditor.rs Loading ...