annotate contrib/git-viz/git-diff-tree @ 3153:4fe41a9e4591

optimize revlog.lookup when passed hex(node)[:...] Instead of converting each node from the filenode to a hex form, convert the arg to a bin form. For a revlog with 26711 entries, doing 100 lookup: before: ~18s after : ~13s
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 24 Sep 2006 13:52:27 +0200
parents d8abb687d501
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
406
d8abb687d501 [PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff changeset
1 #!/bin/sh
d8abb687d501 [PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff changeset
2
d8abb687d501 [PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff changeset
3 op=`basename $0 | sed -e 's/^git-//'`
d8abb687d501 [PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff changeset
4 exec hgit $op "$@"
d8abb687d501 [PATCH] Using monotone-viz/git-viz with mercurial
mpm@selenic.com
parents:
diff changeset
5