Skip to content
Snippets Groups Projects
Commit 29a259be6424 authored by Jörg Sonnenberger's avatar Jörg Sonnenberger
Browse files

phases: fix performance regression with Python 2

Unlike Python 3, xrange doesn't support efficient "in" and uses a linear
time scan instead. Expand the condition to handle it fast.

Differential Revision: https://phab.mercurial-scm.org/D9072
parent e9468f14379a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment