Skip to content

Most efficient way to get next/prev items in an ordered map. #621

Closed
@kentor

Description

@kentor

Given a key that is in an OrderedMap, is there an efficient way (O(1) or O(log n)) to get the next or previous item?

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