Mercurial > hg
comparison tests/test-revert.out @ 3157: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 | ea2a9c13afc6 |
children | 281f9f8f1bd4 03a665f9f913 |
comparison
equal
deleted
inserted
replaced
3156:d01e4cb2f5f2 | 3157:4fe41a9e4591 |
---|