On Sat, 17 Mar 2007, Junio C Hamano wrote:One thing that I considered was to limit the delta-base cache to just tree entries. Those tend to be the really performance-sensitive ones - by the time you actually unpack blob entries, you're going to do something with that *single* entry anyway (like compare it to another blob), and the cost of unpacking the entry is likely to not be really all that noticeable. That said, it was just simpler to do it unconditionally, and it obviously *works* fine regardless of the object type, so limiting it to trees is a bit sad. And since the intensive tree operations tend to be in a separate phase (ie the commit simplification phase) from the the blob operations (say, doing "git log -p <pathspec>"), I suspect that the cache locality would still remain good. So I didn't do anything along the lines of "only cache for case Xyzzy". But yes, especially if a project has big blobs, it might make sense to limit by full size of the cached entries some way. Linus - 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 004/196] Chinese: add translation of SubmittingPatches |
| Alan Stern | Re: 2.6.22-rc2-mm1 |
| Satyam Sharma | Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures |
| William Lee Irwin III | Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] |
git: | |
| Dale Farnsworth | Re: [PATCH 03/39] mv643xx_eth: shorten reg names |
| Jarek Poplawski | Re: HTB accuracy for high speed |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
