We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b5e4f9 commit 3acf683Copy full SHA for 3acf683
1 file changed
crates/bench/benches/index.rs
@@ -184,6 +184,7 @@ impl Index for IBTree {
184
Self(<_>::default())
185
}
186
fn insert(&mut self, key: K, val: RowPointer) -> Result<(), RowPointer> {
187
+ // SAFETY: we never insert `(key, val)` twice in benchmarks.
188
unsafe { self.0.insert(key, val) }
189
190
fn seek(&self, key: K) -> impl Iterator<Item = RowPointer> {
@@ -250,6 +251,7 @@ impl Index for IDirectIndex {
250
251
252
253
254
255
256
257
0 commit comments