is there any reason to use SuperFastHash in druntime? (exceptspeed)

Daniel Kozák via Digitalmars-d digitalmars-d at puremagic.com
Fri May 29 02:52:58 PDT 2015


A little bit faster than murnurhash3 in my scenerio. But I prefer farmhash. http://code.google.com/p/farmhash/

----- Původní zpráva -----
Od:"Martin Nowak via Digitalmars-d" <digitalmars-d at puremagic.com>
Odesláno:‎29. ‎5. ‎2015 11:41
Komu:"digitalmars-d at puremagic.com" <digitalmars-d at puremagic.com>
Předmět:Re: is there any reason to use SuperFastHash in druntime? (exceptspeed)

On Thursday, 28 May 2015 at 03:09:07 UTC, ketmar wrote:
> i think
> that there is some sense in trading some speed for better 
> distribution.
> what do you think?

We discussed most part of this already.
http://forum.dlang.org/post/mff4id$hj8$1@digitalmars.com

And we're already using MurmurHash3 for the new CTFEable hash 
function.
https://github.com/D-Programming-Language/druntime/blob/master/src/core/internal/hash.d

Though I don't get any feedback for the library AA.
http://forum.dlang.org/post/mjsma6$196h$1@digitalmars.com

> and i believe that people that care about performance will roll 
> their own
> hash functions anyway

Anyone will use the built-in hash, performance is of utmost 
importance.

> [2] http://code.google.com/p/fast-hash/

It's called fast hash, but how fast is it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150529/cc383b9b/attachment.html>


More information about the Digitalmars-d mailing list