forked from fmtlib/fmt
Update ChangeLog.md
This commit is contained in:
21
ChangeLog.md
21
ChangeLog.md
@ -4169,18 +4169,15 @@
|
|||||||
2.22x faster than 5.1 on decimal integer formatting with `format_to`
|
2.22x faster than 5.1 on decimal integer formatting with `format_to`
|
||||||
(macOS, clang-902.0.39.2):
|
(macOS, clang-902.0.39.2):
|
||||||
|
|
||||||
+----------------------------+-----------------------+---------+
|
| Method | Time, s | Speedup |
|
||||||
| Method | Time, s | Speedup |
|
| -------------------------- | --------------: | ------: |
|
||||||
+============================+=======================+=========+
|
| fmt::format 5.1 | 0.58 | |
|
||||||
| fmt::format 5.1 | > 0.58 | |
|
| fmt::format 5.2 | 0.35 | 1.66x |
|
||||||
+----------------------------+-----------------------+---------+
|
| fmt::format_to 5.1 | 0.51 | |
|
||||||
| fmt::format 5.2 | > 0.35 0.51 | > 1.66x |
|
| fmt::format_to 5.2 | 0.23 | 2.22x |
|
||||||
| fmt::format_to 5.1 | | |
|
| sprintf | 0.71 | |
|
||||||
+----------------------------+-----------------------+---------+
|
| std::to_string | 1.01 | |
|
||||||
| fmt::format_to 5.2 sprintf | > 0.23 0.71 1.01 1.73 | > 2.22x |
|
| std::stringstream | 1.73 | |
|
||||||
| std::to_string | | |
|
|
||||||
| std::stringstream | | |
|
|
||||||
+----------------------------+-----------------------+---------+
|
|
||||||
|
|
||||||
- Changed the `fmt` macro from opt-out to opt-in to prevent name
|
- Changed the `fmt` macro from opt-out to opt-in to prevent name
|
||||||
collisions. To enable it define the `FMT_STRING_ALIAS` macro to 1
|
collisions. To enable it define the `FMT_STRING_ALIAS` macro to 1
|
||||||
|
Reference in New Issue
Block a user