mirror of
https://github.com/php/php-src.git
synced 2026-03-25 08:42:29 +01:00
Instead of case-folding a string and then converting it to UTF-8 as a separate operation, why not convert it to UTF-8 at the same time as we fold case? For non-UTF-8 encodings, this typically makes mb_stripos about 2x faster.
7.6 KiB
7.6 KiB