Mercurial > hg-stable
diff hgext/histedit.py @ 31588:2e254165a37c
similar: do not look up and create filectx more than once
Benchmark with 50k added/removed files, on tmpfs:
$ hg addremove --dry-run --time -q
previous: real 16.070 secs (user 14.470+0.000 sys 1.580+0.000)
this patch: real 12.420 secs (user 11.120+0.000 sys 1.280+0.000)
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 23 Mar 2017 21:17:08 +0900 |
parents | 2b599f5468a4 |
children | c4dd1e7c1dab |