[php-src] PR #20052: ROR the callable_convert_cache key for better hash distribution
| From: | nielsdos | Date: | Fri, 03 Oct 2025 18:32:12 +0000 |
| Subject: | [php-src] PR #20052: ROR the callable_convert_cache key for better hash distribution | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33469@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20052
Author: nielsdos
The bottom 3 bits are zeros due to alignment, to get better key distributions we should ROR the 3
bottom bits.
This results in a single extra instruction on x86 or arm64, which is negligible for the benefit we
get.