This is an archive of the discontinued Mercurial Phabricator instance.

rust-dirstatemap: add `NonNormalEntries` class

Authored by Alphare on Jan 30 2020, 9:09 AM.



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!

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Alphare created this revision.Jan 30 2020, 9:09 AM
marmoute accepted this revision.Feb 7 2020, 3:14 PM
marmoute added a subscriber: marmoute.

as advertised. Not pretty, but failry simple.

kevincox accepted this revision.Feb 10 2020, 1:17 PM
Alphare edited the summary of this revision. (Show Details)Feb 10 2020, 4:10 PM
Alphare updated this revision to Diff 20058.
Alphare updated this revision to Diff 20061.Feb 10 2020, 4:44 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.