murmurhash-d ~master

Murmurhash port for D, based on the original implementation from Austin Appleby


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Port of MurmurHash

MurmurHash is one of the fastest algorithms to handle small keys or to be used together with hashtables. So, this is why this port was made. Example usage:

import mumurhash2;
import std.datetime.stopwatch;
import std.stdio;
string a = "hello world";


writeln = benchmark!(()
{
    MurmurHash64A(a.ptr, cast(int)a.length, 0);
})(10_000_000);

MurmurHash3 is only supported on Windows right now, since it has intrinsics for rotating left 64

Authors:
  • Hipreme
Dependencies:
none
Versions:
1.0.0 2025-Nov-06
~master 2025-Nov-06
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 14 downloads this week

  • 14 downloads this month

  • 14 downloads total

Score:
0.2
Short URL:
murmurhash-d.dub.pm