Mercurial > hg
diff mercurial/obsolete.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 | 77eace2a63cb |
children | cd0068232ec0 |