Skip to content

Performance: Reduce Clones #15

@6d7a

Description

@6d7a

Since performance has not been a priority in the compiler's development, the compiler currently clones all over the place. Strings that reference another data type from the module that is compiled are particularly prone to being cloned. These could be easily replaced with Cows or similar borrowing types. Similarly, the map of TopLevelDeclarations is cloned in some places in the validator module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions