-
Type:
Enhancement
-
Resolution: Won't Fix
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
generic
`Arrays.hashCode(boolean[])` currently performs a naive scalar loop over the array elements, computing the hash as
```
31 * result + Boolean.hashCode(element).
```
This implementation is not consistent with other primitive array types (e.g., byte[], char[], int[]), which delegate to ArraysSupport.hashCode to enable optimized vectorized implementations.
```
31 * result + Boolean.hashCode(element).
```
This implementation is not consistent with other primitive array types (e.g., byte[], char[], int[]), which delegate to ArraysSupport.hashCode to enable optimized vectorized implementations.