git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Linus Torvalds
Message 5 of 5 in “Add specialized object allocator”
  1. Linus TorvaldsJun 19, 2006
  2. Linus TorvaldsJun 19, 2006
  3. Junio C HamanoJun 19, 2006
  4. Linus TorvaldsJun 19, 2006
  5. Junio C HamanoJun 19, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.