…and was exponentially slower than necessary
7PM25EXLNQ6JUUIZNTAOQYNNIZNG6TJREEBUSAIC3FIOE7FHETSAC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
pub fn apply_change_rec_ws<T: MutTxnT, P: ChangeStore>(
pub fn apply_change_rec_ws<T: TxnT + MutTxnT, P: ChangeStore>(
let mut visited = HashSet::new();
if !visited.insert(hash) { continue; } if let Some(change_id) = txn.get_internal(hash) { if txn .get_changeset(&channel.changes, change_id, None) .is_some() { continue; } }
if !visited.insert(hash) {
continue;
}
if let Some(change_id) = txn.get_internal(hash) {
if txn
.get_changeset(&channel.changes, change_id, None)
.is_some()
{