FastHamming
1.2Fast Computation of Pairwise Hamming Distances
0packages depend
2.3Kdownloads / year
–test coverage
13/13checks pass
Overview
About
Pairwise Hamming distances are computed between the rows of a binary (0/1) matrix using highly optimized 'C' code. The input is an integer matrix where each row represents a binary feature vector and returns a symmetric integer matrix of pairwise distances. Internally, rows are bit-packed into 64-bit words for fast XOR-based comparisons, with hardware-accelerated popcount operations to count differences. 'OpenMP' parallelization ensures efficient performance for large matrices.
Install
Health
CRAN checks
13OK
Slowest check: 46 s · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
0
Dependencies · direct
Check history
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
- Examples that run
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
2.3K
CRAN downloads in the past year
Rank #22,483 · ~6/day · ~191/mo
Daily download trend is not available in this view yet.
12630 days
52590 days
2.3K1 year
Also on405 r2u12 autocran
Dependencies
Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
People & History
Package Timeline
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.2Latest
- 1.12025-04-25
- RR 4.5.0 released · 2025-04-11
0 of 2 selectedCompare selected
Package metadata
- First published
- 2025-04-25
- Total releases
- 2 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 3.5 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet