Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy Load Value for DBIter::Prev #42

Open
rockeet opened this issue Apr 30, 2023 · 0 comments
Open

Lazy Load Value for DBIter::Prev #42

rockeet opened this issue Apr 30, 2023 · 0 comments

Comments

@rockeet
Copy link
Collaborator

rockeet commented Apr 30, 2023

Now DBIter::Next supports lazy load value, but DBIter::Prev does not support lazy load for first visible is kValueType.

DBIter::Prev needs to calling underlying iter->Prev to get the iter pos of first visible kValueType, this needs to backup iter->value(), thus can not realize lazy load.

ToplingZipTable can load the value by ValueID, thus we can backup the ValueID instead of value content to realize lazy load. -- If zero copy is applicable, the lazy load is not needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant