From: Junio C Hamano Date: Thu, 25 Apr 2013 20:13:07 GMT Subject: Re: [PATCH] Hold an 'unsigned long' chunk of the sha1 in obj_hash Message-ID: <7vobd22wto.fsf@alter.siamese.dyndns.org> In-Reply-To: <6c2b67a2f0b67ee796c7676e3febe4c61ab85d4a.1366912627.git.trast@inf.ethz.ch> Thomas Rast writes: > So we take a slightly different approach, and trade some memory for > better cache locality. Interesting. It feels somewhat bait-and-switch to reveal that the above "some" turns out to be "double" later, but the resulting code does not look too bad, and the numbers do not look insignificant.