Hacker GitHub

← All repos

lemire/fast_double_parser

View on GitHub ↗ ★ 669 C++

Fast function to parse strings into double (binary64) floating-point values, enforces the RFC 7159 (JSON standard) grammar: 4x faster than strtod

4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2020-03-10 · latest 2023-02-09

Mentions per year 4 mentions · busiest year 2020 (2)
20082026
  1. …floats there, and check our functions with SQL queries. Currently, the state-of-the-art library is https://github.com/lemire/fast_double_parser , but we use a slightly worse (but more performant) routine. It is also interesting how to…
  2. …the benchmarks show a significant improvement relative to those in the fast_double_parser README: https://github.com/lemire/fast_double_parser I tried to run the benchmarks, but my CMake is apparently too old, and Homebrew barfed all over…
    comment by SloopJon · 2021-01-30 · in Number Parsing at a Gigabyte per Second
  3. …I wonder if it'd be better to split the uint64_t field into two uint32_ts to avoid this. [1] https://github.com/lemire/fast_double_parser/blob/master/inc... [2] https://news.ycombinator.com/item?id=22440894 [3]…