[php-src] PR #12948: Use strcspn() to optimize dom_html5_escape_string()
| From: | nielsdos | Date: | Tue, 12 Dec 2023 20:58:31 +0000 |
| Subject: | [php-src] PR #12948: Use strcspn() to optimize dom_html5_escape_string() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24511@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12948
Author: nielsdos
This routine implemented by libc uses a faster algorithm than the old naive byte-per-byte approach
here. It also is often optimized using SIMD.