Skip to content

[0.1.2] Initial crates.io release !

Latest

Choose a tag to compare

@St4NNi St4NNi released this 07 Jan 09:48
0015dcc

jamhash v0.1.2

Initial release of jamhash - a fast, non-cryptographic hash function designed for genomics and general-purpose hashing.

Highlights

  • Zero dependencies - lightweight and easy to integrate
  • SMHasher3 verified - passes all 188 tests in the comprehensive hash function test suite
  • Dual-licensed under MIT and Apache 2.0

Features

  • jamhash_u64 - optimized for 2-bit encoded genomic k-mers
  • jamhash_bytes - size-optimized byte hashing with specialized code paths for short, medium, long, and ultra-long inputs
  • JamHasher - streaming hasher implementing std::hash::Hasher

Genomics Use Cases

The jamhash_u64 function is specifically designed for bioinformatics workflows:

  • MinHash sketching of DNA/RNA sequences
  • K-mer counting and frequency analysis
  • Sequence similarity estimation

Installation

[dependencies]
jamhash = "0.1"