comparison mercurial/discovery.py @ 24443:539b3c7eea44

phase: compute phases in C Previously, the phase computation would grow much slower as the oldest draft commit in the repository grew older (which is very common in repos with evolve on) and the number of commits increase. By rewriting the computation in C we can speed it up from 700ms to 7ms on a large repository whose oldest draft commit is a year old.
author Laurent Charignon <lcharignon@fb.com>
date Tue, 24 Mar 2015 11:00:09 -0700
parents 6ddc86eedc3b
children 2b0449255800
comparison
equal deleted inserted replaced
24442:98042b0e19f9 24443:539b3c7eea44