Page MenuHomePhabricator

copies: avoid unnecessary copying of copy dict
ClosedPublic

Authored by martinvonz on May 21 2019, 8:32 PM.

Details

Summary

When storing copy information in the changesets, this patch speeds up

hg debugpathcopies FENNEC_58_0_2_BUILD1 FIREFOX_59_0b8_BUILD2

from 11s to 5.9s. That command takes 6.2s when storing copy
information in filelogs.

Diff Detail

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

Event Timeline

martinvonz created this revision.May 21 2019, 8:32 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.