yuja added a comment.

  >   The new call to read() should be fast because the revision
  >   fulltext should be cached as part of calling renamed(). So the
  >   overhead here should be minimal.
  
  That isn't true unfortunately. `renamed()` reads the text only if p1 is null,
  so `size()` was cheap in most cases. This patch makes `size()` as slow as
  `len(read())`.

REPOSITORY
  rHG Mercurial

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

To: indygreg, #hg-reviewers
Cc: yuja, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to