Files
michael-grunder 0a784e8f94 Experimental support for JSON serialization with simdjson
This commit adds conditional support for simdjson based JSON
deserialization.

To enable compile with `--enable-redis-simdjson` and PhpRedis will
attempt to find and link with the `simdjson` shared library. The feature
likely requires simdjson >= `4.0.0` and was tested with `4.3.1`.

Enabling is just like other serializers:

```php
$redis->setOption(Redis::OPT_SERIALIZER, Redis::SERIALIZER_SIMDJSON);
$redis->set('foo', ['bar' => 'baz']);
print_r($redis->get('foo'));
```

Initial tests do show aa huge performance improvement in deserializing
json payloads (2-3.5x depending on the payloads themselves).
2026-03-09 09:14:38 -07:00
..
2024-05-30 12:10:46 -07:00
2011-08-18 09:39:14 +01:00
2024-05-30 12:10:46 -07:00
2026-02-18 09:46:55 -08:00
2026-02-18 09:46:55 -08:00
2020-06-24 17:00:01 -07:00
2022-10-09 16:15:02 -07:00