Theodore Tso wrote:True. But repopulating this cache after cloning means that you have to calculate the patch-id of *every* commit in the repository. It sounds like something to avoid, but maybe I'm overly concerned, I have only a vague idea on how computationally intensive this is. I fully agree that caches are good. And yes I seem to resist the idea to create a cache at every whim, but that mostly is because I want to avoid that everyone invents their own mini-database for each and every data access they want to accellerate. I mean, ideally, any database/index/accellerator structure you'd need can reuse the SHA1 object database index, or maybe one or two other semi-standard index types, and git would provide suitable library functions for all three solutions. And if that would be the case, I'll gladly throw in an extra cache or index at anytime to speed up the particular access pattern I'm trying to make useable. But as far as I can see, those library functions have not materialised yet, so I'm hesitant to create yet another private database structure just for my access patterns; and simply pulling in libdb or sqlite without agreement that those libs are (re)used in a lot of places in git seems a bit bloat-prone. It's not a certainty that changing the git object layout has to break compatibility (it should be reasonably possible to add columns to the schema without breaking anything, to stay with the database paradigm), but I agree that creating another index can be considered better than extending the schema. -- Sincerely, Stephen R. van den Berg. "Father's Day: Nine months before Mother's Day." -- 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
| Justin C. Sherrill | Re: pkgsrc bulk build and tiff |
| Linus Torvalds | Linux 2.6.27-rc5 |
| Ingo Molnar | [crash, bisected] Kernel BUG at ffffffff8079afb1 (__netif_schedule()) |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Evgeniy Polyakov | Re: tbench wrt. loopback TSO |
