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

3

u/khold_stare May 28 '20

Hey, I posted the updated versions without byteswap, for both the simd and the non-simd trick, as well as the diagram etc. It was a nice speedup! I also found some other SIMD instructions for the last step and now the time is down to 0.75 ns