Mercurial > hg
view tests/test-symlinks.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 | 9d1c3529ebbc |
children | d7b9ec589546 |
line wrap: on
line source
adding foo adding bomb adding a.c adding dir/a.o adding dir/b.o ! a.c ! dir/a.o ! dir/b.o ? .hgignore a.c: unsupported file type (type is fifo) ! a.c # test absolute path through symlink outside repo A f # try symlink outside repo to file inside abort: ../z not under root