Re: inotify daemon speedup for git [POC/HACK]
Avery Pennarun <apenwarr@gmail.com> writes:
Show 8 quoted lines
> 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