Mercurial > hg
comparison contrib/tcsh_completion @ 7069:852f39691a0a
Eliminate normpath from foldmap calls.
Normcase already takes care of upper/lower case and /->\ conversions.
What's left for normpath is folding of a/../a sequences but this should
be either done consistently on both non-folding and folding code path
or not at all, otherwise we are introducing inconsistent behavior between the
two that has nothing to do with case folding.
Second argument against it - normpath being pure Python function is very slow -
as much as 50% of time is spend just inside normpath call on my repository.
author | Petr Kodl <petrkodl@gmail.com> |
---|---|
date | Tue, 30 Sep 2008 17:23:08 -0400 |
parents | 2073e5a71008 |
children | 2b2548342265 |
comparison
equal
deleted
inserted
replaced
7068:57377fa7eda2 | 7069:852f39691a0a |
---|