Skip to content

Commit d6a0d3c

Browse files
committed
implement get_many_sequential
1 parent 19e5758 commit d6a0d3c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/segment/src/vector_storage/in_ram_persisted_vectors.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ impl<T: Sized + Copy + Clone + Default + 'static> ChunkedVectorStorage<T>
9797

9898
#[inline]
9999
fn get_many_sequential(&self, key: VectorOffsetType, count: usize) -> Option<&[T]> {
100-
// No optimization for sequential access
101-
self.mmap_storage.get_many(key, count)
100+
self.mmap_storage.get_many_sequential(key, count)
102101
}
103102

104103
#[inline]

0 commit comments

Comments
 (0)