Daeer-Projects / Converter.Temperature

The temperature convertions methods created as extension methods.
MIT License
3 stars 0 forks source link

String conversions are the slowest and allocate the most memory #50

Closed Daeer-Projects closed 1 year ago

Daeer-Projects commented 1 year ago

Is it possible to do something with the string conversions as we have a limitation on dotnet 6 /C# 10 syntax?

Can we use span<T>?

The tests and benchmarks are set up, so some experimentation is required to see if we can improve the performance for those conversions specifically.

Daeer-Projects commented 1 year ago

I don't think this is going to be possible.