Skip to content

Replace SparseArray Option<T> with T::MAX to cut down on branching #1558

@alice-i-cecile

Description

@alice-i-cecile

would enable cheaper get_unchecked() operations

From Future Work of #1525.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-PerformanceA change motivated by improving speed, memory usage or compile timesS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions