dannyvankooten / 1brc

C11 implementation of the 1 Billion Rows Challenge. 1️⃣🐝🏎️ Runs in ~1.6 seconds on my not-so-fast laptop CPU w/ 16GB RAM.
86 stars 40 forks source link

parsing string without branching #6

Open wutzi15 opened 5 months ago

wutzi15 commented 5 months ago

Now parsing the int without explicit branch. In my tests this speeds up from (13.52 +- 1.18)s down to (13.07+-0.87)s measured across 15 runs. This is a speed-up of 3.39%.

Please verify

dannyvankooten commented 5 months ago

Ooh, clever. Nicely done. I’ll verify as soon as I get a chance, but from a first glance it looks good to me!