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-mersjamhash_bytes- size-optimized byte hashing with specialized code paths for short, medium, long, and ultra-long inputsJamHasher- streaming hasher implementingstd::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"