You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gengliqi
changed the title
Use Ryū algorithm library to speed up float-to-string conversion
Use Ryū or DragonBox algorithm library to speed up float-to-string conversion
May 10, 2024
Enhancement
Ryū paper: https://dl.acm.org/doi/pdf/10.1145/3296979.3192369
Ryū C++ implementation by author: https://github.com/ulfjack/ryu
BTW, the
strconv
in Go's standard library has already used Ryū algorithm. (See golang/go#15672).DragonBox: https://github.com/jk-jeon/dragonbox
TiFlash uses https://github.com/google/double-conversion to convert float to string.
Clickhouse changed
double-conversion
to Ryu in this PR ClickHouse/ClickHouse#8542.Then it changed to DragonBox in this PR ClickHouse/ClickHouse#17831.
We need to investigate it further to choose which one will be used.
The text was updated successfully, but these errors were encountered: