[libcxx-commits] [PATCH] D123058: [libc++] Remove the usage of __init in operator+

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 7 08:56:49 PDT 2022


philnik added a comment.

F22707911: string_plus_chart.png <https://reviews.llvm.org/F22707911>
The old constructor style was a bit slower than the `__init` approach. The new one is significantly faster.
Here is the benchmark:
F22708299: StringOpPlus.cpp <https://reviews.llvm.org/F22708299>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123058/new/

https://reviews.llvm.org/D123058



More information about the libcxx-commits mailing list