pub fn append(&mut self, slot_deltas: &[SlotDelta<T>]) {
        for (slot, is_root, statuses) in slot_deltas {
            statuses
                .lock()
                .unwrap()
                .iter()
                .for_each(|(tx_hash, (key_index, statuses))| {
                    for (key_slice, res) in statuses.iter() {
                        self.insert_with_slice(tx_hash, *slot, *key_index, *key_slice, res.clone())
                    }
                });
            if *is_root {
                self.add_root(*slot);
            }
        }
    }
// replay deltas into a status_cache allows "appending" data
replay deltas into a status_cache allows "appending" data
replay deltas into a status_cache allows " appending " data
pub fn append(&mut self, slot_deltas: &[SlotDelta<T>]) {
        for (slot, is_root, statuses) in slot_deltas {
            statuses
                .lock()
                .unwrap()
                .iter()
                .for_each(|(tx_hash, (key_index, statuses))| {
                    for (key_slice, res) in statuses.iter() {
                        self.insert_with_slice(tx_hash, *slot, *key_index, *key_slice, res.clone())
                    }
                });
            if *is_root {
                self.add_root(*slot);
            }
        }
    }
pub fn append ( & mut self , slot_deltas : & [ SlotDelta < T > ] ) { for ( slot , is_root , statuses ) in slot_deltas { statuses . lock ( ) . unwrap ( ) . iter ( ) . for_each ( | ( tx_hash , ( key_index , statuses ) ) | { for ( key_slice , res ) in statuses . iter ( ) { self . insert_with_slice ( tx_hash , * slot , * key_index , * key_slice , res . clone ( ) ) } } ) ; if * is_root { self . add_root ( * slot ) ; } } }
replay deltas into a status_cache allows "appending" data
replay deltas into a status_cache allows " appending " data
&mut self
slot_deltas
&[SlotDelta<T>]