wangyi-fudan/wyhash
The FASTEST QUALITY hash function, random number generators (PRNG) and hash map. observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 73
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2737
- days_rel: n/a
- days_push: 163
- n_releases_24m: 0
Adoption not part of the score
1146 stars · 75 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
wyhash is a fast, high-quality 64-bit non-cryptographic hash function with accompanying PRNG (wyrand/w1rand) and hash map, written in portable C. It is the default hash in Zig, V, Nim, and Go's runtime, and has evolved into rapidhash.
Use cases
- fastest 64-bit hash function for hash tables
- seeded PRNG that passes BigCrush and PractRand
- hashing for bloom filters
- default hash for language runtimes
- portable hashing across 32/64-bit and endiannesses
When to choose
- you need maximum hashing speed on 64-bit machines, especially for short keys
- you want a tiny, simple, portable hash implementation
- you need a salted hash resistant to intended collision attacks
When to avoid
- you need cryptographic security or full 64-bit collision resistance (it offers ~62 bits)
- you need a PRNG that passes PractRand on very long datasets (32TB+)
- you want the actively evolved successor - consider rapidhash instead
Facets
library · maturity maintenance
cryptography developer-tools performance developer-tools cross-platform c cpp hash-function prng non-cryptographic-hash hashmap bloom-filter smhasher algorithms
1 source
- readme: https://github.com/wangyi-fudan/wyhash · fetched 2026-08-28 · 37db4c97035c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wangyi-fudan/wyhash | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="wangyi-fudan/wyhash")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem