From: Junio C Hamano Date: Thu, 16 Feb 2017 17:10:50 GMT Subject: Re: What's cooking in git.git (Feb 2017, #04; Tue, 14) Message-ID: In-Reply-To: René Scharfe writes: > Am 14.02.2017 um 23:59 schrieb Junio C Hamano: >> * 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.