[libcxx-commits] [libcxx] [libc++] Optimize ctype::to{lower, upper} (PR #145344)

Zibi Sarbinowski via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 23 08:14:51 PDT 2025


================
@@ -16,6 +16,15 @@ New entries should be added directly below the "Version" header.
 Version 21.0
 ------------
 
+* [libc++] Optimize ctype::to{lower,upper}
+
+  This patch removed __classic_upper_table() and __classic_lower_table(), which were only ever accessed from the dylib.
----------------
zibi2 wrote:

I see these were used inside locale.cpp only so they should never be externalized. In theory once the symbol is exported nothing stops of being called externally though I would think this is unlikely.

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


More information about the libcxx-commits mailing list