Skip to content

Collapse sparse AMTs #17

@Stebalien

Description

@Stebalien

Currently, the height of an AMT is always log(last_index)/log(8). Unfortunately, every lookup requires height lookups. Ideally, we'd collapse degree-1 trees by allowing nodes to have a height greater than 1. The downside is an extra byte to record this height in each node.

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