mirror of
https://github.com/php/php-src.git
synced 2026-04-22 23:48:14 +02:00
880803a21e
Even for single-character strings, this is about 50% faster for ASCII, UTF-8, and UTF-16. For long strings, the performance gain is enormous, since the old code would convert the ENTIRE string, just to pick out the first codepoint.