Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 23 Mar 2009 15:36:30 +0100] rev 7882
ancestor: caching the parent list to improve performance
When computing the DAG depth, we walk through all ancestors: this commit adds
memoization during that first step. Then, the memorized parents are fetched
from a dict instead of calling parents() on each vertex.
This tweak, according to Kcachegrind, improves ancestor() performance by 16%
when cloning a big repository.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 23 Mar 2009 13:49:16 +0100] rev 7881
kill another trailing space
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 23 Mar 2009 13:43:48 +0100] rev 7880
add debugcommands command: an easy to parse command + option index
Alexander Solovyov <piranha at piranha.org.ua> [Mon, 23 Mar 2009 10:41:42 +0100] rev 7879
templater: ability to display diffstat for log-like commands
Alexander Solovyov <piranha@piranha.org.ua> [Mon, 23 Mar 2009 13:15:57 +0100] rev 7878
templater: use contexts consistently throughout changeset_templater
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Mon, 23 Mar 2009 13:13:27 +0100] rev 7877
cleanup: whitespace cleanup
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Mon, 23 Mar 2009 13:13:11 +0100] rev 7876
cleanup: drop enumerate() when index is not used
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Mon, 23 Mar 2009 13:13:06 +0100] rev 7875
cleanup: drop unused assignments
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Mon, 23 Mar 2009 13:13:02 +0100] rev 7874
cleanup: drop variables for unused return values
They are unnecessary. I did leave them in localrepo.py where there is
something like:
_junk = foo()
_junk = None
to free memory early. I don't know if just `foo()` will free the return
value as early.
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Mon, 23 Mar 2009 13:12:07 +0100] rev 7873
cleanup: drop unused imports