offload remaining db iterator initial seeks on cache miss

consume task budget on cache hit

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and strawberry committed 2025-01-01 23:28:01 -05:00
1 parent 14341bb906
commit 98e6c81e49
16 files changed
+199 -131

No files matched your search

-2
View File
@@ -29,8 +29,6 @@ pub(crate) trait Cursor<'a, T> {
fn seek(&mut self);
fn init(self, from: From<'a>) -> Self;
fn get(&self) -> Option<Result<T>> {
self.fetch()
.map(Ok)