Mercurial > public > mercurial-scm > hg
diff rust/hg-cpython/src/dirstate.rs @ 44297:cf1f8660e568
rust-dirstatemap: add `NonNormalEntries` class
This fix introduces the same encapsulation as the `copymap`. There is no easy
way of doing this any better for now.
`hg up -r null && time HGRCPATH= HGMODULEPOLICY=rust+c hg up tip` on Mozilla
Central, (not super recent, but it doesn't matter):
Before: 7:44,08 total
After: 1:03,23 total
Pretty brutal regression!
Differential Revision: https://phab.mercurial-scm.org/D8049
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 10 Feb 2020 21:54:12 +0100 |
parents | 6a88ced33c40 |
children | f96b28aa4b79 |
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate.rs Sun Feb 09 16:18:26 2020 -0500 +++ b/rust/hg-cpython/src/dirstate.rs Mon Feb 10 21:54:12 2020 +0100 @@ -12,6 +12,7 @@ mod copymap; mod dirs_multiset; mod dirstate_map; +mod non_normal_entries; mod status; use crate::dirstate::{ dirs_multiset::Dirs, dirstate_map::DirstateMap, status::status_wrapper,