Re: [RFC/PATCHv2 1/6] decorate: allow storing values instead of pointers
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 14, 2011, 21:06 UTC
- Message-ID
- <7vipr4373f.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110714173454.GA21657@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> Doing macro meta-programming like this makes me feel a little dirty, but > I actually think the result is more readable. > > [1/3]: implement generic key/value map > [2/3]: fast-export: use object to uint32 map instead of "decorate" > [3/3]: decorate: use "map" for the underlying implementation > > What do you think?
Yeah, dirty but nice ;-)