[Bug libstdc++/110801] std::format code runs slower than equivalent {fmt} code

2023-11-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110801 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/110801] std::format code runs slower than equivalent {fmt} code

2023-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110801 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:41a5ea4cab2c59f9911325281f7df1d3ae846d48 commit r14-5587-g41a5ea4cab2c59f9911325281f7df1d3ae846d48 Author: Jonathan Wakely

[Bug libstdc++/110801] std::format code runs slower than equivalent {fmt} code

2023-08-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110801 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > Created attachment 55739 [details] > Add special case for format("{}", integer) The _Seq_sink::_M_get_pointer and _Iter_sink::_M_get_pointer overrides in

[Bug libstdc++/110801] std::format code runs slower than equivalent {fmt} code

2023-08-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110801 --- Comment #1 from Jonathan Wakely --- Created attachment 55739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55739=edit Add special case for format("{}", integer) With this patch std::format is much closer to fmt::format: Benchmark