C#'s System.Enum class can be incredibly performant and still let you maintain readable code.
Unfortunatly, performing operations like listing all enum values, converting enum's back to their string names, and parsing strings to enum values are incredibly non-performant. In low-latency/high-performance systems, this can have a huge negative impact on your performance metrics.
The ideal solution would be to treat all Enum's as their underlying type, and only do conversions offline.
- Version: 1.1.0
- Project documentation: https://github.com/tonyferrell/Enum.Performance.Library
- Read more info on NuGet.org...
DependenciesThis package has 0 dependencies.
0 packages depend on this package.
Run this command from the Package Manager Console: