mm3h 0.1.0

Murmur3 optimized hasher
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 0 items with examples
  • Size
  • Source code size: 64.97 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.76 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • awxkee/mm3h
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • awxkee

Murmur3Hasher

A Rust implementation of MurmurHash3 with platform-specific SIMD optimizations (NEON, AVX2, SSE2). This crate provides a Hasher compatible struct that can be used with Rust's hashing APIs.

use mm3h::Murmur3Hasher;
use std::hash::Hasher;

fn main() {
    let mut hasher = Murmur3Hasher::new_with_seed(42);

    let data = b"Hash me!";
    hasher.write(data);

    let hash_value = hasher.finish();
    println!("Hash: {}", hash_value);
}

This project is licensed under either of

  • BSD-3-Clause License (see LICENSE)
  • Apache License, Version 2.0 (see LICENSE)

at your option.