publicscripts/mvwrap
Ward Wouts 26c1f324d4 At lot more efficient by linearizing a O(N^2) function in
check_safety. I think this can be further optimized by using
a temporary hash. Anyway, on a directory with 5327 files swapping to
file names had this effect:

time mvwrap.old -n
mvwrap.old -n  183.40s user 0.11s system 91% cpu 3:20.83 total

became:

time mvwrap -n
mvwrap -n  29.03s user 0.15s system 78% cpu 36.946 total

Which still takes too long, but is a lot better. ;)
2002-02-04 21:59:53 +00:00
..
mvwrap At lot more efficient by linearizing a O(N^2) function in 2002-02-04 21:59:53 +00:00