Skip to content

Optimize Fields of Spatial Maps #133

@Chris3606

Description

@Chris3606

Currently the SpatialMap and MultiSpatialMap implement Items and Positions using yield return. Instead, they could just return the Keys and Items fields of the underlying dictionaries. These enumerators are likely to be more efficient.

We could also provide overloads that return the actual type instead of IEnumerable so that we could take advantage of those optimizations when the specific type is known.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions