Invalid image

Enum.Performance.Library



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.

Info

Version: 1.1.0
Author(s): Tony Ferrell
Last Update: Thursday, September 3, 2015
.NET Fiddle:
Project Url: https://github.com/tonyferrell/Enum.Performance.Library
NuGet Url: https://www.nuget.org/packages/Enum.Performance.Library


Install
Install-Package Enum.Performance.Library
dotnet add package Z.EntityFramework.Plus.EF6
paket add Enum.Performance.Library
Enum.Performance.Library Download (Unzip the "nupkg" after downloading)



Tags






STATS

must-have-score


avg-downloads-per-day

1


days-since-last-release

832