fastfloat/fast_float
View on GitHub ↗ ★ 2,141 C++
Fast and exact implementation of the C++ from_chars functions for number types: 4x to 10x faster than strtod, part of GCC 12, MySQL, DuckDB, Chromium, Redis and WebKit/Safari
9 mentions on Hacker News by 8 people: 1 story, 8 comments · first 2021-01-30 · latest 2024-10-14
20082026
-
…12 (and also used by Chrome) claims to be 4 - 10 times faster than old strtod implementations: https://github.com/fastfloat/fast_float For more historical context: https://lemire.me/blog/2020/03/10/fast-float-parsing-in-prac...
comment by ftrobro · 2024-10-14 · in C++ String Conversion: Exploring std:from_chars in C++17 to C++26 -
…It's not a parsing library, but a printing one, i.e., double -> string. https://github.com/fastfloat/fast_float is a parsing library, i.e., string -> double, not by Google though, but was indeed motivated by parsing JSON fast http
comment by fuklief · 2023-04-04 · in Parquet: An efficient, binary file format for table data -
…2018 when that code was written in which case not even integer from_chars would be available. [0] https://github.com/fastfloat/fast_float
comment by account42 · 2023-02-08 · in Can sanitizers find the two bugs I wrote in C++? -
…float parsing themselves. [0] https://github.com/gcc-mirror/gcc/blob/master/libstdc++-v3/s... [1] https://github.com/fastfloat/fast_float
comment by account42 · 2022-09-07 · in Someone’s Been Messing with My Subnormals -
Any body wanting to port the fast float parser in java too ? https://github.com/fastfloat/fast_float Lemire's really has made a huge contribution to computer science
comment by The_rationalist · 2021-03-22 · in FastDoubleParser: Java port of Daniel Lemires fast_double_parser -
Some fun things I've figured out: * https://github.com/fastfloat/fast_float <-- for fast float/double conversion * from_chars() for fast integer conversion (though I benchmarked a few that were slightly faster but probably less robust),…
comment by mettamage · 2021-02-07 · in Ask HN: C++17/C++20 example projects with good style? -
…/lemire.me/blog/2021/01/29/number-parsing-at-a-gigaby... [2] https://arxiv.org/pdf/2101.11408.pdf [3] https://github.com/fastfloat/fast_float [4] https://github.com/aldanor/fast-float-rust/
comment by aldanor · 2021-02-07 · in The Eisel-Lemire ParseNumberF64 Algorithm -
▲ 109
Fastfloat – C++ library 4x faster than strtodstory by dilawar · 2021-01-31 · 17 comments
-
…"The fast_float library provides a performance similar to that of the fast_double_parser library." https://github.com/fastfloat/fast_float However, the benchmarks show a significant improvement relative to those in the fast_double_parser…
comment by SloopJon · 2021-01-30 · in Number Parsing at a Gigabyte per Second