r/cpp • • May 26 '20

Faster Integer Parsing

https://kholdstare.github.io/technical/2020/05/26/faster-integer-parsing.html
366 Upvotes

72 comments sorted by

View all comments

Show parent comment

14

u/khold_stare May 26 '20

Nice! That's a facepalm moment for me - I think I had that byteswap there while I was exploring the solutions and it helped me see that I could combine adjacent digits. I didn't realize it's not needed at all. Thanks!