[libcxx-commits] [PATCH] D97705: [libc++] Improve std::to_chars for base != 10.

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 13 12:46:11 PDT 2022


philnik added inline comments.


================
Comment at: libcxx/include/charconv:546
 {
-  if (__base == 10)
+  if (__base == 10) [[likely]]
     return __to_chars_itoa(__first, __last, __value, false_type());
----------------
Does this `[[likely]]` make any difference?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97705



More information about the libcxx-commits mailing list