Re: speeding up cg-log -u
From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:41:57
On Sat, 14 May 2005, Junio C Hamano wrote:
Whenever I work with those "struct object" derivatives, I get very frustrated by the fact that they are designed to cater only to the need of very narrow immediate users.
They aren't designed for the immediate users; they're implemented for the immediate users. Feel free to add more fields as you need them. The current selection is based on only adding things when there's a user for them.
The first round of tree objects did not even have names for each entry because the only thing it cared about was connectivity checking, and for that purpose callers would not care about what each blob or subtree was referred as. Now when I want to use commit objects I find that it only records the commit date (other than connectivity information). It really appears that connectivity is the primary thing and everything else is bolted on top.
Existance is the primary thing, and everything else was added as needed. (Pure connectivity is a bit special, because it's a property of generic objects so that fsck-cache doesn't need to know about particular types of objects unless there are particular things to check about them) If you need more fields, let me know, and I'll figure out how to include them. -Daniel *This .sig left intentionally blank*