Skip to content

Lazy (H)AMT value decoding #321

Description

@Stebalien

Currently, our rust HAMT and AMT implementations eagerly decode. Unfortunately:

  1. This means we need to eagerly decode everything (and re-encode on save).
  2. This causes what appears to be a significant amount of code bloat as HAMT and AMT internals now need to be monomorphized on a per-value-type basis. If we instead decoded into some form of "deferred" object (as we currently do in go), the core HAMT & AMT code could be value (and even key) agnostic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions