r/cpp • u/aearphen {fmt} • Jul 20 '26
Żmij 1.1 released with fixed notation support, up to 38% faster double-to-string conversion, SIMD-optimized float formatting, a smaller binary footprint and more
41
Upvotes
View all comments
Show parent comment
13
u/not_a_novel_account cmake dev Jul 20 '26 edited Jul 20 '26
It's not a single 1Mb JSON message, it's millions of JSON messages each with one or two floats in them. The performance savings are aggregate and fleet-wide, not a single operation which is now 5% faster.
It's the same kind of performance savings that swiss tables or folly strings are designed for. Not "this application is now 2x", but "fleet wide, we're saving a statistically measurable amount of compute".