mirror of
https://github.com/predis/predis.git
synced 2026-08-23 17:35:19 +00:00
e38df19fac
By default Predis chooses automatically which hash generator to use: if a suitable version of ext-phpiredis is loaded (that is, a version that implements the phpiredis_utils_crc16() function) it uses the new Predis\Cluster\Hash\PhpiredisCRC16 generator, otherwise it falls back to the usual pure-PHP Predis\Cluster\Hash\CRC16 generator.