Re: [PATCH] Hold an 'unsigned long' chunk of the sha1 in obj_hash
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 25, 2013, 20:13 UTC
- Message-ID
- <7vobd22wto.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <6c2b67a2f0b67ee796c7676e3febe4c61ab85d4a.1366912627.git.trast@inf.ethz.ch>
Thomas Rast <trast@inf.ethz.ch> 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.