Skip to content

Consider changing Enum's cache to store arrays of the underlying type #44365

Description

@stephentoub

#44355 (comment)

It may work better to switch the cached values type to be the underlying enum type. It would eliminate the conversions to UInt64 (we would have to convert or switch over the underlying type instead), and it would also make the cache 2x smaller for the typical case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions