On Mon, 11 July 2011, Jeff King wrote: > There is sometimes a need to cache some information about an > object or set of objects persistently across git > invocations. The notes-cache interface can be used for this, > but it is very heavyweight and slow for storing small > values. > > This patch introduces a new API, object-cache, which stores > a mapping of objects to values in a concise and efficient > form. See the added API documentation for details. > > Signed-off-by: Jeff King <peff@xxxxxxxx> > --- > As I mentioned earlier, I wanted this to be generic and size-agnostic, > because I'd also like to try caching patch-ids for git-cherry. Could this API be generalized to support "reverse cache", for example to map Subversion revision numbers to Git revision identifiers (for git-svn)? -- Jakub Narebski Poland -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html