Improving unrecord performance (8 times faster on my tests)
[?]
Apr 28, 2021, 8:14 PM
SFQBWL6PHSX7MQVOSQW4ZO35SLXNHN6562IWYCN4UKWAEVE6AQNQCDependencies
- [2]
I24UEJQLVarious post-fire fixes - [3]
T7CAACFBFixing zombie conflicts (some vertices were wrongly detected alive) - [4]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [5]
6YMDOZIBRefactoring apply - [6]
YN63NUZOSanakirja 1.0 - [7]
VO5OQW4WRemoving anyhow in libpijul - [8]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump
Change contents
- replacement in libpijul/src/find_alive.rs at line 52
let mut stack = vec![SerializedEdge::empty(vertex0.end_pos(), ChangeId::ROOT)];let mut stack = vec![(SerializedEdge::empty(vertex0.end_pos(), ChangeId::ROOT), false)]; - replacement in libpijul/src/find_alive.rs at line 54
while let Some(elt) = stack.pop() {// `to_self` tells whether we've already marked a vertex alive// along the path from `vertex0`. This can happen if the only// vertices alive are from change `change`.while let Some((elt, mut to_self)) = stack.pop() { - edit in libpijul/src/find_alive.rs at line 92
alive.insert(vertex); - edit in libpijul/src/find_alive.rs at line 93
alive.insert(vertex); - edit in libpijul/src/find_alive.rs at line 96
} else if !to_self {alive.insert(vertex);to_self = true; - replacement in libpijul/src/find_alive.rs at line 109
stack.push(*v)stack.push((*v, to_self))