Junio C Hamano <gitster@pobox.com> wrote:... ... I'm inclined to agree. Its something I've thought about doing. I haven't even prototyped code for it. Let alone shown numbers that say one way or the other. One of the notes proposals was talking about having lots of different classes of notes. E.g. a "Signed-off-by" class and a "build and test log results" class. The former would generally be very small and may even want to be shown most of the time the commit body is displayed (e.g. in gitk, git-log). These would be good candidates to cluster alongside the commit. Indeed they are clustered there today, just hung inside of the commit object itself. Nobody is bitching about the hit they cause on the common case of `pack-objects`. :) The latter (build and test log) would generally be very large. We would *not* want to cluster them. But we might want to store next to the commit a very small pointer to the note itself. Such as the note's SHA-1. Or its offset within the packfile's index. This would make locating those notes very cheap, while not having a huge impact on the common case of commit traversal. Likewise we might want to pack a tag's SHA-1 alongside of the commit it points at, as parsing the commit would immediately give us all annotated tags that refer to that commit. Tags are (usually) few and far between. But tools like git-describe are commonly used and would benefit from not needing to build the commit->tag hashtable. OK, well, git-describe cheats and uses the struct object hashtable, but whatever. You get my point. I think. And I got yours about not making the common case worse than it already is today. -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| David Brown | Re: Linux 2.6.21-rc2 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Justin C. Sherrill | Re: dragonflybsd.org website link? |
git: | |
| Ben Hutchings | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
