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-05-12 19:02:48 +01:00
2018-10-14 12:56:38 +02:00
2021-04-13 14:37:18 +02:00
2021-10-18 15:23:08 -07:00
2021-05-12 14:55:53 +01:00
2018-10-14 12:56:38 +02:00
2018-10-14 12:56:38 +02:00
2021-04-13 12:09:37 +02:00
2021-05-12 14:55:53 +01:00
2021-05-14 13:45:17 +01:00
2021-05-12 14:55:53 +01:00
2018-10-14 12:56:38 +02:00
2021-04-13 12:09:37 +02:00
2021-05-12 14:55:53 +01:00
2021-04-13 12:09:37 +02:00
2021-05-12 14:55:53 +01:00
2021-10-18 11:11:33 +02:00
2018-10-14 12:56:38 +02:00
2021-02-16 13:09:56 +01:00
2021-11-03 15:18:26 +03:00
2021-02-14 12:03:48 +01:00
2020-06-16 18:39:09 +02:00
2018-10-14 12:56:38 +02:00
2020-08-28 16:50:07 +02:00
2021-05-12 14:55:53 +01:00
2021-05-12 14:55:53 +01:00
2021-05-12 14:55:53 +01:00
2021-10-18 15:06:36 -07:00
2021-05-12 14:55:53 +01:00
2021-10-18 15:06:36 -07:00
2021-10-18 15:23:08 -07:00
2021-04-13 12:09:37 +02:00
2021-05-12 14:55:53 +01:00
2020-01-16 12:04:00 +01:00
2021-05-12 14:55:53 +01:00
2021-06-29 11:30:26 +02:00
2021-05-12 14:55:53 +01:00
2021-10-18 15:23:08 -07:00
2018-10-14 12:56:38 +02:00
2021-05-12 14:55:53 +01:00
2021-05-12 14:55:53 +01:00
2018-10-14 12:56:38 +02:00
2018-10-14 12:56:38 +02:00
2021-05-12 14:55:53 +01:00
2018-10-14 12:56:38 +02:00
2021-11-24 16:13:34 +03:00
2018-10-14 12:56:38 +02:00
2018-10-14 12:56:38 +02:00
2018-10-14 12:56:38 +02:00
2021-11-12 14:26:16 +01:00
2021-05-12 14:55:53 +01:00
2021-10-18 15:23:08 -07:00
2021-05-12 14:55:53 +01:00
2018-10-14 12:56:38 +02:00
2018-10-14 12:56:38 +02:00
2021-11-14 20:08:57 +00:00
2019-08-26 18:05:11 +01:00