Skip to content

make heads available in O(log(n)) #37

Description

@timkuijsten

Currently heads can only be found in O(n) since every version has to be iterated over in order to find all heads.

Add a _m3._head : < bool > attribute and with each update toggle the parent to false.

This will also open the way to rollover old versions and get rid of the constraint to keep all versions of all times in the capped collection.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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