Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

[PERF] Lightweight Node Construction #82

Description

@iamrecursion

Description

As node construction is one of the most common operations in the virtual machine, it is important that it be as cheap as possible.

Currently this is quite a heavyweight task due to the boxed structure of the value tree. This could be improved.

Spec

  • Come up with an artificially flat representation for these nodes. This will make allocation effectively arena-like using a vector and indices as pointers.
  • Make this type safe.
  • Re-engineer the value representation around this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions