From: Junio C Hamano Date: Mon, 19 Jun 2006 21:38:45 GMT Subject: Re: Add specialized object allocator Message-ID: <7vhd2g966y.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > 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.