This is an archive of the discontinued Mercurial Phabricator instance.

xdiff: do not rely on hashtable in xdl_trim_ends
AbandonedPublic

Authored by quark on Mar 3 2018, 9:51 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

Upcoming changes will narrow down the hashtable content to not include
trimmed lines. So let's just compare line contents in xdl_trim_ends.
It's still cheaper than calculating unique hash values for all lines.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped