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?
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
GetNamesof 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?