Decision Workspace
hamming vs hamming-bitwise-fast vs hamming_rs
Side-by-side comparison of Rust crates
51
hamming
growingv0.1.3
Count ones, fast (aka popcount, hamming weight). This provides a performant popcount and bitwise hamming distance for a slice of bytes.
65
hamming-bitwise-fast
stablev1.1.0
Fast bitwise Hamming distance using auto-vectorization with runtime SIMD detection on x86.
43
hamming_rs
growingv0.2.25
Computes Hamming distance and weight -- if available and beneficial, uses a highly optimized avx2 implementation
Core Metrics
| hamming | hamming-bitwise-fast | hamming_rs | |
|---|---|---|---|
| Health Score | 51 | 65 | 43 |
| Total Downloads | 1.6M | 65.9K | 12.7K |
| 30d Downloads | 72.6K | 4.9K | 0 |
| Dependents | 122 | 9 | 3 |
| Releases | 4 | 2 | 10 |
| Last Updated | 3814d ago | 5d ago | 180d ago |
| Age | 10y 12m | 1y 5m | 4y 1m |
Health Breakdown
hamming
Maintenance
8
Quality
16
Community
9
Popularity
7
Documentation
11
hamming-bitwise-fast
Maintenance
17
Quality
19
Community
8
Popularity
6
Documentation
15
hamming_rs
Maintenance
8
Quality
12
Community
5
Popularity
5
Documentation
13
Technical Details
| hamming | hamming-bitwise-fast | hamming_rs | |
|---|---|---|---|
| Version | 0.1.3 | 1.1.0 | 0.2.25 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 8 | 5 |
| Crate Size | 10KB | 34KB | 1.6MB |
| Features | 1 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2021 |
| MSRV | — | 1.61 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hamming-bitwise-fast leads with a health score of 65/100, but none of the options score above 80.
- •hamming has the most downloads (1.6M), suggesting wider adoption.
- •hamming is depended on by 122 crates — strongest ecosystem trust.
- •⚠ hamming has not been updated in over a year.
- •hamming, hamming_rs are pre-1.0 — API may change.