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. ;) |
||
|---|---|---|
| .. | ||
| mvwrap | ||