News for hackers. Stuff that matters.
Re:How to Print Integers Really Fast by Const-me on Sunday December 24, 2017 @09:08AM (#15999574)
Not long ago I’ve benchmarked several implementations. The fastest itoa I’ve found was fmt::FormatInt class from there https://github.com/fmtlib/fmt

Based on the article, I think fmtlib will be faster than what they did here.

Re:How to Print Integers Really Fast by Veedrac on Monday December 25, 2017 @01:02PM (#16005039)
FormatInt doesn't write out to a buffer and doesn't pad the output with zeros, so it's going to lose out nontrivially in actual use.

I have tested some FormatInt-like code that does do those things; if I recall the results correctly, the article's is slightly faster with unpredictable sizes and significantly faster with predictable sizes.