Mercurial > hg-stable
comparison hgext/censor.py @ 25386:a5a95642144b
revrange: build spanset from x:y range
This slightly improves the performance in the optimal case:
% hg log -R mozilla-central -r0:tip -l1 --time
(before)
time: real 0.050 secs (user 0.040+0.000 sys 0.010+0.000)
(after)
time: real 0.020 secs (user 0.000+0.000 sys 0.010+0.000)
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 24 May 2015 18:30:27 +0900 |
parents | 80c5b2666a96 |
children | 328739ea70c3 |
comparison
equal
deleted
inserted
replaced
25385:a26a55406c0a | 25386:a5a95642144b |
---|