Skip to content

using B-trees instead of RB trees #3

@ratchetfreak

Description

@ratchetfreak

Reading your article you had some issues with getting an RedBlack tree working in a pure functional style.

However a B-tree would work a lot better in a pure functional style.

Every subtree is automatically balanced because growing the height only happens at the root. And splits and joins only affect the current node and its siblings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions