develooper Front page | perl.perl5.porters | Postings from October 2012

Re: Eliminating the "rehash" mechanism for 5.18

Thread Previous | Thread Next
James E Keenan
October 29, 2012 13:24
Re: Eliminating the "rehash" mechanism for 5.18
Message ID:
On 10/29/12 1:55 PM, demerphq wrote:
> Perl currently has a defense against attacks on its hash algorithm
> where it conditionally enables the use of a random hash seed when it
> calculates the hash value for a string. This mode is triggered by
> encountering an overly long bucket chain during insert. Once this bit
> is set all further hash operations have to go through additional
> layers of logic. All of this support has a per-operation cost.


This was a very well written post and proposal.  Even someone with very 
limited knowledge of perlguts (me) could follow it.

Thank you very much.
Jim Keenan

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About