On Sat, Jun 7, 2008 at 4:36 PM, Geoffrey Irving <irving@xxxxxxx> wrote: > Added cached-sha-map.[hc] implementing a persistent hash map from sha1 to sha1. > The map is read with mmap, and completely rewritten if any entries change. It > would be good to add incremental update to handle the usual case where only a > few entries change. > > This structure is used by patch-ids.c to cache the mapping from commit to > patch-id into $GIT_DIR/patch-id-cache. In the one case I've tested so far, > this speeds up the second invocation of git-cherry by two orders of magnitude. > > Original code cannibalized from Johannes Schindelin's notes-index structure. > > <snip> Forgot to cc people from previous threads. Is starting a new thread each time I update a patch the correct way to do things? Geoffrey -- 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