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-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-07-12 16:51:24 +02:00
2021-05-12 14:55:53 +01:00
2021-11-23 18:34:48 +01:00
2021-05-06 12:16:35 +02:00
2021-06-29 11:30:26 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-11-04 16:25:18 +01:00
2021-10-05 09:51:58 +01:00
2021-11-03 15:18:26 +03:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-10 19:26:33 +02:00
2021-11-03 15:18:26 +03:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-09-07 10:04:00 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-09-20 14:24:59 +01:00
2021-07-15 19:08:26 +02:00
2021-07-15 19:08:26 +02:00
2021-06-29 11:30:26 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-11-09 17:49:14 -06:00
2021-08-31 19:13:49 +02:00
2021-05-06 12:16:35 +02:00
2021-11-03 15:18:26 +03:00
2021-05-06 12:16:35 +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
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00