Skip to content

Backward iteration for M-BPTREE #126

Open
@BrianSipos

Description

@BrianSipos

I have an ordered set of numeric intervals defined using BPTREE_DEF() and I would like to be able to search for a value in the set and then iterate to its predecessor (the previous value by order). But it appears that the BPTREE only allows forward iteration using name_next() function.

Is it possible to provide a name_prev() function to iterate toward the front of the set? Or does the internal structure not allow that currently?

Note that my request is for a backward traversal from an forward iterator, not a reverse iterator. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions