Daniel Lemire’s blog - Latest News and Information
  • All Technology
  • AI
  • Autonomy
  • B2B Growth
  • Big Data
  • BioTech
  • ClimateTech
  • Consumer Tech
  • Crypto
  • Cybersecurity
  • DevOps
  • Digital Marketing
  • Ecommerce
  • EdTech
  • Enterprise
  • FinTech
  • GovTech
  • Hardware
  • HealthTech
  • HRTech
  • LegalTech
  • Nanotech
  • PropTech
  • Quantum
  • Robotics
  • SaaS
  • SpaceTech
AllNewsDealsSocialBlogsVideosPodcastsDigests

Technology Pulse

EMAIL DIGESTS

Daily

Every morning

Weekly

Sunday recap

NewsDealsSocialBlogsVideosPodcasts
Daniel Lemire’s blog

Daniel Lemire’s blog

Publication
0 followers

High-performance computing, parsing, databases; frequent algorithm/data posts

Recent Posts

Converting Floats to Strings Quickly
News•Feb 1, 2026

Converting Floats to Strings Quickly

Converting binary floating‑point numbers to decimal strings is a core step in JSON, CSV, and logging pipelines. Recent research benchmarks modern algorithms—Dragonbox, Schubfach, and Ryū—showing they are roughly ten times faster than the original Dragon4 from 1990. The study finds string‑generation now consumes 20‑35% of total conversion time, and implementations like std::to_chars and fmt still use up to twice the optimal instruction count. Moreover, none of the existing functions consistently produce the mathematically shortest representation, e.g., std::to_chars prints 0.00011 instead of the shorter scientific form.

By Daniel Lemire’s blog