mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-08-18 12:08:22 +00:00
restore TODO
This commit is contained in:
@@ -133,6 +133,8 @@ impl SparseBlock<'_> {
|
||||
|
||||
#[inline]
|
||||
// Looks for the element in the block. Returns the position if found.
|
||||
// TODO try different implem.
|
||||
// e.g. exponential search into binary search
|
||||
fn binary_search(&self, target: u16) -> Result<u16, u16> {
|
||||
self.binary_search_from(target, 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user