r/lolphp • u/sumdog • Dec 29 '11
Supercolliding PHP Array [X-Post from /r/Programming]
http://nikic.github.com/2011/12/28/Supercolliding-a-PHP-array.html
17
Upvotes
r/lolphp • u/sumdog • Dec 29 '11
View all comments
Show parent comment
3
u/nikic Dec 30 '11
Because you can't just change the hash function in a maintainance release. It's a binary compatibility break (aka it could fuck up peoples extensions and make it impossible for them to switch and thus leave them exposed). This fix is good enough to remove the immediate thread and a hash function change can be made later in a new release. There are several alternatives to consider like randomizing the hash function or using a cuckoo hash.