From: Johannes Sixt Date: Mon, 17 Apr 2017 08:03:56 GMT Subject: Re: Index files autocompletion too slow in big repositories (w / suggestion for improvement) Message-ID: <2304c00a-ed87-7119-3753-95f61bcf28f6@kdbg.org> In-Reply-To: Am 17.04.2017 um 06:05 schrieb Junio C Hamano: > Johannes Sixt writes: >> This is about command line completion. We go a long way to avoid >> forking processes there. What is 10x faster on Linux despite of >> forking a process may not be so on Windows. > > Doesn't this depend on how many paths there are? If there are only > a few paths, the loop in shell would beat a pipe into sed even on > Linux, I suspect, and if there are tons of paths, at some number, > loop in shell would become slower than a single spawning of sed on > platforms with slower fork, no? Absolutely. I just want to make sure a suggested change takes into account the situation on Windows, not only the "YESSSS!" and "VERY WELL!" votes of Linux users ;) -- Hannes