[php-src] PR #26035: ext/standard: Improve performance of string.toupper and string.tolower filters
| From: | adapik | Date: | Wed, 02 Dec 2026 18:19:23 +0000 |
| Subject: | [php-src] PR #26035: ext/standard: Improve performance of string.toupper and string.tolower filters | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41373@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/26035
Author: adapik
Pass the filters through the same code path that
strtoupper() and
strtolower() functions already use. That code is already optimized, so we drop a second
implementation of the same thing and get a speedup:
toupper: 3.5 GB/s -> 16.5 GB/s
tolower: 3.5 GB/s -> 16.5 GB/s