jj/lib
Martin von Zweigbergk a7b6bcfd79 transaction: write incremental index on commit
With this change, we start writing the incremental index to disk, so
the next reader won't have to re-read the commits and create the
index.

As of this change, we simply write a new index file for each
transaction. That will clearly mean that the stack of files gets deep
pretty quickly. For now, the user will have to do `jj debug reindex`
when things get slow. I plan to change it so instead of writing an
incremental index file every time, we first check if the new index
file would have at least as many commits as the parent file, and if it
will, we write a combined one instead. That should apply recursively,
so we'd have O(log n) index files.
2021-02-15 11:03:41 -08:00
..
protos view: add tracking of "public" heads (copying Mercurial's phase concept) 2021-01-16 11:48:35 -08:00
src transaction: write incremental index on commit 2021-02-15 11:03:41 -08:00
tests transaction: write incremental index on commit 2021-02-15 11:03:41 -08:00
build.rs
Cargo.toml cargo: release 0.1.1 2021-01-03 23:06:46 -08:00