On Thu, 2014-08-28 at 10:07 +0200, Sebastian Bergmann wrote: > Am 28.08.2014 um 10:04 schrieb Pierre Joye: > > ext/hash can have it anyway. I did not look at it if it makes sense to > > use it in other parts. > > Sorry for not bein more clear: yes, I was thinking about adding it to > ext/hash, of course. It might make sense, though, to evaluate whether > it can also be used internally. Other languages seem to have switched > their hashtable implementation to SipHash.
Try it out. Mind that we are doing quite few more hash operations than other languages. I doubt barely anybody here has the maths background to predict impact on hash calculation performance and conflict ratio and even then only a test and analysis of different benchmarks will tell the truth. johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php