From: Junio C Hamano Date: Wed, 09 Mar 2016 23:21:01 GMT Subject: Re: [PATCH 04/19] index-helper: new daemon for caching index and related stuff Message-ID: In-Reply-To: Junio C Hamano writes: > David Turner writes: > >> From: Nguyễn Thái Ngọc Duy >> >> Instead of reading the index from disk and worrying about disk >> corruption, the index is cached in memory (memory bit-flips happen >> too, but hopefully less often). The result is faster read. Read time >> is reduced by 70%. >> >> The biggest gain is not having to verify the trailing SHA-1, which >> takes lots of time especially on large index files. Come to think of it, wouldn't it be far less intrusive change to just put the index on a ramdisk and skip the trailing SHA-1 verification, to obtain a similar result with the same trade off (i.e. blindly trusting memory instead of being paranoid)?