Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump fmtlib to 11.0.0. #2391

Merged
merged 3 commits into from
Jul 2, 2024
Merged

chore: Bump fmtlib to 11.0.0. #2391

merged 3 commits into from
Jul 2, 2024

Conversation

aleksraiden
Copy link
Contributor

Bump fmtlib to 11.0.0. Full changelog here: https://github.com/fmtlib/fmt/releases/tag/11.0.0

Key features:

  • Added fmt/base.h which provides a subset of the API with minimal include dependencies and enough functionality to replace all uses of the printf family of functions. This gives almost 4x improvement in build speed compared to version 10.
  • Improved C++20 module support
  • Improved integration with stdio in fmt::print, enabling direct writes into a C stream buffer in common cases. This may give significant performance improvements ranging from tens of percent to 2x and eliminates dynamic memory allocations on the buffer level. It is currently enabled for built-in and string types with wider availability coming up in future releases.
  • Improved safety of fmt::format_to when writing to an array
  • A lot of new formatters for std
  • Added support for __float128
  • Fixed buffer overflow when using format string compilation with debug format and std::back_insert_iterator
  • Improved/fixed the CMake config
  • Fixed various warnings and compilation issues

Copy link

sonarcloud bot commented Jul 2, 2024

@tisonkun tisonkun merged commit 7ed512e into unstable Jul 2, 2024
54 checks passed
@tisonkun tisonkun deleted the aleksraiden-fmtlib-11.0.0 branch July 2, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants