From: Duy Nguyen Date: Fri, 24 Aug 2018 18:40:09 GMT Subject: Re: [PATCH v1] read-cache: speed up index load through parallelization Message-ID: In-Reply-To: On Thu, Aug 23, 2018 at 7:33 PM Stefan Beller wrote: > > +core.fastIndex:: > > + Enable parallel index loading > > ++ > > +This can speed up operations like 'git diff' and 'git status' especially > > +when the index is very large. When enabled, Git will do the index > > +loading from the on disk format to the in-memory format in parallel. > > +Defaults to true. > > "fast" is a non-descriptive word as we try to be fast in any operation? > Maybe core.parallelIndexReading as that just describes what it > turns on/off, without second guessing its effects? Another option is index.threads (the "index" section currently only has one item, index.version). The value could be the same as grep.threads or pack.threads. (and if you're thinking about parallelizing write as well but it should be tuned differently, then perhaps index.readThreads, but I don't think we need to go that far) -- Duy