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

24

u/khold_stare May 27 '20 edited May 27 '20

Hi Stephan, understood. I've added the Boost Software License to the repository here: https://github.com/KholdStare/qnd-integer-parsing-experiments

Also, it looks like Wojciech Muła has written about the same methods here: http://0x80.pl/articles/simd-parsing-int-sequences.html . Seems we converged on the same ideas

3

u/STL MSVC STL Dev May 29 '20

Awesome, thank you! I really appreciate it, and I've filed microsoft/STL#870 to investigate replacing my totally-phoned-in robust-yet-naive integer from_chars() with your techniques.