Three Unlikely Successful Features of D

Sean Kelly sean at invisibleduck.org
Wed Mar 21 14:32:46 PDT 2012


On Mar 21, 2012, at 2:18 PM, Jacob Carlborg wrote:

> On 2012-03-21 20:49, Sean Kelly wrote:
> 
>> Druntime actually did use MurmurHash for a while and then dropped it because the site had no copyright license for the code (a mistake that has since been rectified).  I'd consider switching back, though I don't really like that MurmurHash has a number of separate implementations targeted at different platforms, each having different performance characteristics.  It's 4x faster than SuperFastHash on x86 but 10x slower than SuperFastHash on SPARC, for example.
> 
> Would it be possible to use different algorithms on different platforms?

Depends whether there's any reason to have different platforms attempt to generate the same hash for a given input.


More information about the Digitalmars-d mailing list