René Scharfe [off-list ref] writes:
Am 14.02.2017 um 23:59 schrieb Junio C Hamano:
quoted
* rs/ls-files-partial-optim (2017-02-13) 2 commits
- ls-files: move only kept cache entries in prune_cache()
- ls-files: pass prefix length explicitly to prune_cache()
"ls-files" run with pathspec has been micro-optimized to avoid one
extra call to memmove().
Nit: The number of memmove(3) calls stays the same, but the number of
bytes that are moved is reduced.
Blush X-< you are right of course. Will fix to say "... to avoid
having to memmove(3) unnecessary bytes."
Thanks.