Could you someone shed some light on the hashing function/algorithm Perl uses to map a string to an index ? Any relevant reading ?
Could you someone shed some light on the hashing function/algorithm Perl uses to map
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
[This answer predates the hashing function change made in 5.28. See “Default Hash Function Change” in the perldelta for 5.28.]
PERL_HASH_INTERNAL_, defined inhv.h, copied below: