Re: What's cooking in git.git (Dec 2013, #02; Fri, 6)
- From
Thomas Rast <tr@thomasrast.ch>
- Date
- Dec 7, 2013, 22:23 UTC
- Message-ID
- <87fvq41esw.fsf@thomasrast.ch>
- In-Reply-To
- <52A37D70.3090400@gmail.com>
Karsten Blees <karsten.blees@gmail.com> writes:
> Extending 'struct hashmap_entry' with an int-sized member shouldn't waste > memory on 64-bit systems. This is already documented in api-hashmap.txt, > but needs '__attribute__((__packed__))' to work. Reduces e.g.
You'd have to guard __attribute__((__packed__)) with some compiler detection in git-compat-util.h though.
-- Thomas Rast tr@thomasrast.ch