1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 22:22:18 +02:00
Files
archived-php-src/main
Dmitry Stogov 067df26344 Use memrchr() when available
On x86_64 glibc memrchr() uses SSE/AVX CPU extensions and works much
faster then naive loop. On x86 32-bit we still use inlined version.

memrchr() is a GNU extension. Its prototype  becomes available when
<string.h> is included with defined _GNU_SOURCE macro. Previously, we
defined it in "php_config.h", but some sources may include <string.h>
befire it. To avod mess we also pass -D_GNU_SOURCE to C compiler.
2021-11-24 16:13:34 +03:00
..
2021-11-24 16:13:34 +03:00
2021-04-13 12:09:37 +02:00
2021-07-12 16:51:24 +02:00
2021-11-04 16:25:18 +01:00
2021-07-15 19:08:26 +02:00
2021-07-15 19:08:26 +02:00
2021-08-31 19:13:49 +02:00
2021-09-16 16:54:07 +02:00
2021-09-16 16:54:07 +02:00
2021-11-24 16:13:34 +03:00
2021-08-02 15:59:26 +02:00
2021-11-24 16:13:34 +03:00