From: Thomas Rast Date: Sat, 07 Dec 2013 22:23:11 GMT Subject: Re: What's cooking in git.git (Dec 2013, #02; Fri, 6) Message-ID: <87fvq41esw.fsf@thomasrast.ch> In-Reply-To: <52A37D70.3090400@gmail.com> Karsten Blees 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