php-src/ext/ctype
Niels Dossche 07811b6390 Fix GH-11997: ctype_alnum 5 times slower in PHP 8.1 or greater
Currently, a common function is used where a function pointer gets
passed to check the character class type. If we instead use a macro, the
macro version of these character class type checkers can be used. While
this gives only a minor speed-up for glibc-based systems, on Alpine this
gives a multi-facor speed-up

This is essentially a manual revert of dc80ea7e38.

Full discussion in GH-11997.

Closes GH-12300.
2023-09-26 21:42:41 +02:00
..
tests Deprecate ctype_*() on non-string arguments 2021-07-09 12:00:35 +02:00
config.m4 Normalize comments in *nix build system m4 files 2019-05-12 18:43:03 +02:00
config.w32 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
CREDITS
ctype_arginfo.h Improve class entry generation 2021-02-16 13:09:56 +01:00
ctype.c Fix GH-11997: ctype_alnum 5 times slower in PHP 8.1 or greater 2023-09-26 21:42:41 +02:00
ctype.stub.php Implicitly enable function entry generation when class entry generation is enabled 2021-02-09 13:37:24 +01:00
php_ctype.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00