Alexhuszagh / rust-lexical

Fast numeric to- and from-string conversion routines.
Other
295 stars 38 forks source link

[BUG] Improve Integer Serialization Performance #163

Open Alexhuszagh opened 1 week ago

Alexhuszagh commented 1 week ago

Description

As of itoa 1.0+, it has significantly faster performance for some use-cases than lexical. Since we use our integer writers for float formatting, this could lead to noticeable performance enhancements too for float formatting.

plokhotnyuk commented 1 week ago

ICYMI https://jk-jeon.github.io/posts/2022/02/jeaiii-algorithm/

Alexhuszagh commented 6 days ago

Oh this is incredible, thank you. We use their algorithm for float formatting as well (Dragonbox) so this sounds like an excellent addition.