Builder::frontier not generally correct
@@ -46,10 +46,6 @@ where
let mut builder = B::Builder::new();
- // If all of our updates are greater or equal to an element of `upper`,
- // we will mint an empty batch and can skip the process.
- if self.frontier.elements().iter().all(|t1| upper.iter().any(|t2| t2.less_equal(t1))) {
-
let mut merged = Vec::new();
self.sorter.finish_into(&mut merged);
@@ -99,7 +95,6 @@ where
buffer = Vec::new();
self.sorter.push(&mut buffer);
}
- }
let seal = builder.done(&self.lower[..], &upper[..], &self.lower[..]);
self.lower = upper.to_vec();
