Re: Add specialized object allocator
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jun 19, 2006, 21:38 UTC
- Message-ID
- <7vhd2g966y.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0606191327240.5498@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 7 quoted lines
> On Mon, 19 Jun 2006, Junio C Hamano wrote: >> >> Impressed. I wonder if we want to deal with any_object >> structure as well. > > Well, it would certainly be very easily doable, but none of the core code > actually uses it, so it wasn't even on my radar.
I think the definition of "the core" in your earlier message was "stuff I [jc: Linus] use myself", and I think the above statement is in line with that definition.
It is hereby officially declared that commit walkers are not part of the core ;-).
Even the commit walker uses lookup_unknown only for the starting object and all the rest are of known type, so it does not help even if we did "union any_object" that much.