ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk c058ffeed7 rewrite: avoid accessing MutRepo::view() when rebasing descendants
Since 94e03f5ac8, we lazily filter out non-heads from `View`'s set
of head. Accessing the `MutRepo::view()` triggers that filtering. This
patch makes `DescendantRebaser` not unnecessarily do that. That speeds
up the rebasing of 162 descendants in the git.git repo from ~3.6 s to
~330 ms. Rebasing 1272 descendants takes ~885 ms.
2021-12-08 08:49:42 -08:00
..
benches
protos git: start tracking HEAD of underlying Git repo 2021-12-01 11:08:53 -08:00
src rewrite: avoid accessing MutRepo::view() when rebasing descendants 2021-12-08 08:49:42 -08:00
tests repo: don't use stale view when checking for changes 2021-12-05 22:01:48 -08:00
build.rs
Cargo.toml