Skip to content

Commit 9fb9f17

Browse files
committed
Update changelog
1 parent a3b3d7e commit 9fb9f17

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

ChangeLog.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@
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

0 commit comments

Comments
 (0)