kpocza / 1brc

1️⃣🐝🏎️ The One Billion Row Challenge - .NET version
MIT License
2 stars 0 forks source link

how this works? #1

Closed ramartinez7 closed 9 months ago

ramartinez7 commented 9 months ago

https://github.com/kpocza/1brc/blob/a85f9facf8743870171b5bff545cc6e9fe7aac67/1brc/Worker.cs#L91C5-L104C71

Hey Krisztián,

I'm curious about how this 'hacky version' for parsing the temperature value works. Could you please explain it further or direct me to the source where you found it?

kpocza commented 9 months ago

Please check this commit: https://github.com/kpocza/1brc/commit/ce77ce830e8866776132058629fbf149514fade6 I've commented the number parsing algorithm.