D1941: mdiff: explicitly compute places for the newline marker

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri Jan 26 00:00:56 EST 2018


durin42 added a comment.


  3-4% is in line with what I'm seeing with ./hg perfunidiff mercurial/manifest.py 0 --count 500 --profile, and this looks like a better fix than what I've got. I'm a little weirded out by the change in interface where _unidiff yields a bool and then a sequence of hunks - was that needed for the change to work? I'm having trouble telling.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1941

To: joerg.sonnenberger, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list