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.
However this is not always feasible, and this package will help by providing some tools to trade off that processing time for a little bit of space.
- 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.
dotnet add package Enum.Performance.Library
paket add Enum.Performance.Library