buybackoff / 1brc

1BRC in .NET among fastest on Linux
https://hotforknowledge.com/2024/01/13/1brc-in-dotnet-among-fastest-on-linux-my-optimization-journey/
MIT License
441 stars 44 forks source link

Remove unnecessary IndexOf #7

Closed MichelZ closed 9 months ago

MichelZ commented 10 months ago

Try this, it is faster on my machine. The IndexOf is unnecessary, because it is guaranteed to be 1 decimal point / known size