Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-cpython/src/dirstate.rs @ 44181:71e13cfd6154 stable
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!
This is a graft on stable of cf1f8660e568
Differential Revision: https://phab.mercurial-scm.org/D8111
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 12 Feb 2020 23:23:59 +0100 |
parents | 6a88ced33c40 |
children | f96b28aa4b79 |
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate.rs Thu Jan 30 14:57:02 2020 +0100 +++ b/rust/hg-cpython/src/dirstate.rs Wed Feb 12 23:23:59 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,