[libcxx-commits] [libcxx] [libc++] Optimize string operator[] for known large inputs (PR #69500)

Ilya Tocar via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 20 14:05:21 PDT 2023


================
@@ -1198,11 +1198,17 @@ public:
 
   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 const_reference operator[](size_type __pos) const _NOEXCEPT {
----------------
TocarIP wrote:

Done

https://github.com/llvm/llvm-project/pull/69500


More information about the libcxx-commits mailing list