From: Jakub Narebski Date: Wed, 28 Jul 2010 13:09:55 GMT Subject: Re: inotify daemon speedup for git [POC/HACK] Message-ID: In-Reply-To: Avery Pennarun writes: > For speed, the bup index can just mark entries as deleted using a flag > rather than actually rewriting the whole indexfile. Unfortunately, I > failed to make it sufficiently flexible to *add* new entries without > needing to rewrite the whole thing. In bup, that's a big deal > (especially since python is kind of slow and there are typically >1 > million files in the index). In git, it's maybe not so bad; after > all, the current implementation rewrites the index *every* time and > nobody notices. Sidenote: couldn't you do what e.g. Mercurial did, i.e. rewrite critical for performance parts in C? -- Jakub Narebski Poland ShadeHawk on #git