joelverhagen / NCsvPerf

A test bench for various .NET CSV parsing libraries
https://www.joelverhagen.com/blog/2020/12/fastest-net-csv-parsers
MIT License
71 stars 14 forks source link

Change to "new T()" activation. #57

Closed MarkPflug closed 1 year ago

MarkPflug commented 1 year ago

.NET 6 improved the performance to match what was previously done with ILEmit. There should no longer be a need for the complexity of the custom activation code. I ran a handful of the faster benchmarks before and after to confirm I saw no measurable difference (on my machine).

https://github.com/joelverhagen/joelverhagen.com/issues/1

joelverhagen commented 1 year ago

Ah, sorry I missed https://github.com/joelverhagen/joelverhagen.com/issues/1. It's been there for years 😰.

This change looks great. Thank you!