Re: [PHP-DEV] SipHash

[email protected] (Johannes Schlüter)
Newsgroups php.internals
Message-ID <1409244535.6881.59.camel@guybrush>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.