File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 22
33- Optimized the default floating point formatting
44 (https://github.com/fmtlib/fmt/issues/3675 ,
5- https://github.com/fmtlib/fmt/issues/4516 ).
5+ https://github.com/fmtlib/fmt/issues/4516 ). In particular, formatting a
6+ ` double ` with format string compilation into a stack allocated buffer is
7+ more than 60% faster in version 12.0 compared to 11.2 according to
8+ [ dtoa-benchmark] ( https://github.com/fmtlib/dtoa-benchmark ) :
9+
10+ ```
11+ Function Time (ns) Speedup
12+ fmt11 34.471 1.00x
13+ fmt12 21.000 1.64x
14+ ```
15+
16+ <img width =" 766 " height =" 609 " src =" https://github.com/user-attachments/assets/d7d768ad-7543-468c-b0bb-449abf73b31b " />
617
718- Added ` constexpr ` support to ` fmt::format ` . For example:
819
You can’t perform that action at this time.
0 commit comments