Skip to content

Immediate representation for empty variant cases #109

@DanGooding

Description

@DanGooding

Values such as Nil and None should all be non-allocating, since they can fit in a special tag value.

Each of these can be represented as int to ptr 0, whilst the data-carrying variants are heap-allocated reference types as before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    optimisationMakes generated code faster

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions