mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-28 07:20:11 +00:00
c126e75b2b
For tree-level conflicts, we're going to be getting `Merge<Option<TreeValue>>` from the current tree and produce a new such value if contents changes on disk. This commit gets us a little closer to that by passing in a value of that type into `write_path_to_store()`. This seems to have a small but measurable performance impact. Snapshotting the working copy in the git repo with all files `touch`ed went from 2.36 s to 2.43 s (3%). I think that's okay, especially since most files' mtimes rarely change, and we only pay the price when it has. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
Cargo.toml |