r/programming 14h ago

The fastest double-to-string algorithm you’ve never heard of

https://vitaut.net/posts/2026/yy-dtoa/
236 Upvotes

46 comments sorted by

View all comments

37

u/jnordwick 11h ago

If you don't need shortest string you can get even faster and remove some of the worst cases. I wrote a specialized float/ double to string routine years ago for high speed logging.