Insert a batch of updates.
(&mut self, updates: &mut Vec<(D, Timestamp, Diff)>)
| 76 | |
| 77 | /// Insert a batch of updates. |
| 78 | pub fn insert(&mut self, updates: &mut Vec<(D, Timestamp, Diff)>) { |
| 79 | match self { |
| 80 | Self::V1(c) => c.insert(updates), |
| 81 | Self::V2(c) => c.insert(updates), |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | /// Insert a batch of updates, after negating their diffs. |
| 86 | pub fn insert_negated(&mut self, updates: &mut Vec<(D, Timestamp, Diff)>) { |