D4313: pycompat: wrap xrange for py2 to provide efficient __contains__
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Aug 17 12:57:07 EDT 2018
indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.
This seems reasonable.
Out of curiosity, what code is doing an expensive membership test and do you have timing numbers that could be included in the commit message?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4313
To: joerg.sonnenberger, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list