Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Reverse Iterators should 'skip to previous' when start key doesn't exist #27

@rvagg

Description

@rvagg

LevelDB only does 'skip to next' when start key doesn't exist but when you want to iterate in reverse you want your start point to be the previous closest key where your actual start doesn't exist.
We can detect and handle this situation for reverse Iterators. Edge case is end-of-database which will cause !Valid().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions