Re: SipHash
| From: | Johannes Schlüter | Date: | Thu, 28 Aug 2014 16:48:55 +0000 |
| Subject: | Re: SipHash | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76923@lists.php.net to get a copy of this message | ||
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