Perl 5.25.8 chooses its hash function by key length
engineeringperlhashingperformanceThe new default on 64-bit builds combines an unrolled short-key function with SipHash 1-3. Its implementation explains why key length matters to the cost of a hash lookup.