Fixing a shortcut to detect alive children without iterating
[?]
Jan 4, 2021, 8:48 PM
CZX6TRWR53F2BRLKSUTBPEONKS65IYNBO2FYB4HSWF6OK7DOEJGACDependencies
- [2]
GHO6DWPIRefactoring iterators - [3]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [*]
6YMDOZIBRefactoring apply - [*]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump
Change contents
- replacement in libpijul/src/apply.rs at line 739
if !e.flag.contains(EdgeFlags::PSEUDO) || is_alive(txn, channel, p).unwrap() {if e.flag.contains(EdgeFlags::BLOCK)|| p.is_empty()|| is_alive(txn, channel, p).unwrap(){ - edit in libpijul/src/apply.rs at line 788[5.20720][6.132150]
debug_assert!(is_alive(txn, channel, c).unwrap());