Skip to content

Rethink message list data structure #27

@kcr

Description

@kcr

O(1) (or O(small)) insert at ends
O(1) iteration, startable from key-specified point;
finding the point should be at worst O(Log₂ n)
keep two lists? a tree? trees aren't O(1) insert...
and we know that keys are inserted in order

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions