https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110801
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2023-11-18
Ever confirmed|0 |1
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I get these numbers now:
sprintf 530172 ns 529123 ns 1366
ostringstream 1150474 ns 1147048 ns 613
to_string 150262 ns 149901 ns 4680
format 284007 ns 283124 ns 2481
format_to 142947 ns 142612 ns 5046
std_format 340518 ns 339737 ns 2062
std_format_to 296434 ns 295710 ns 2407
There's still room for improvement.