filter-repo: fix perf regression; avoid excessive translation
Translating "Parsed %d commits" a hundred thousand times (once per commit), turned out to be somewhat expensive -- especially since we were only going to print it out once every few thousand commits. Translate it once and cache the result, shaving off about 20% of execution time for a simple rewrite of a test repository (rails). Signed-off-by: Elijah Newren <newren@gmail.com>pull/13/head
parent
2472d1c93f
commit
3999349be4
Loading…
Reference in New Issue