Skip to content

tag/untag box/unbox only on demand #74

@samrushing

Description

@samrushing

Something I want to try, especially for integers: do not enforce tagging in registers, but only in tuples. In other words, apply tag/box only upon store/fetch to/from a tuple. This would protect GC while theoretically really cutting down on tag/untag ops in code. While clang/gcc usually 'see through' the tag ops, it'd be cleaner and possibly faster.
This would also have (good) implications for FFI.

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