Skip to content

Improve performance for GetNames in .NET 8 #71

@silkfire

Description

@silkfire

In .NET 8, the performance of Enum-related methods has been considerably improved, albeit not as fast as your excellent extension.

Recently, Nick Chapsas promoted your extension and ran benchmarks on it in .NET 8 and interestingly, the method GetNames of the source generator is slower than the native method.

See https://youtu.be/UBY4Y6AykdM?si=VzbUusG5YOu1Ke2X&t=418

Could we work out a solution to improve the performance so it's on par or faster than the native equivalent?

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