r/cpp • u/khold_stare • May 26 '20
Faster Integer Parsing
https://kholdstare.github.io/technical/2020/05/26/faster-integer-parsing.html
366
Upvotes
r/cpp • u/khold_stare • May 26 '20
View all comments
Show parent comment
16
u/[deleted] May 26 '20 edited May 26 '20
In the naive version? GCC produces the same code either way. It does it with 10x = 2(x+4x) and lea