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:
parent
14341bb906
commit
98e6c81e49
16 changed files with 199 additions and 131 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue