FastHamming
1.2Fast Computation of Pairwise Hamming Distances
Overview
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
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
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
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
Cite
Cite this package
Start here. This is the citation for the package itself.
citation("FastHamming")CRAN DOI
https://doi.org/10.32614/CRAN.package.FastHammingBibTeX, derived from DESCRIPTION
@Manual{FastHamming,
title = {FastHamming: Fast Computation of Pairwise Hamming Distances},
author = {Varadhan, Ravi},
year = {2025},
note = {R package version 1.2},
doi = {10.32614/CRAN.package.FastHamming},
url = {https://CRAN.R-project.org/package=FastHamming}
}Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.
This is the citation for the package. It is not a citation for the R Observatory.
Cite this page
Use this when the claim is about a measurement on this page.
BibTeX
@misc{robservatoryFastHamming,
author = {Balamuta, James Joseph},
title = {{R} {Observatory}: Metrics for {FastHamming} version 1.2},
year = {2026},
publisher = {HJJB, LLC},
url = {https://r-observatory.thecoatlessprofessor.com/packages/FastHamming},
note = {Data set. Data release v2026-08-05}
}APA
Balamuta, J. J. (2026). R Observatory: Metrics for FastHamming version 1.2 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/FastHammingRIS
TY - DATA
AU - Balamuta, James Joseph
TI - R Observatory: Metrics for FastHamming version 1.2
PY - 2026
PB - HJJB, LLC
N1 - Data release v2026-08-05
UR - https://r-observatory.thecoatlessprofessor.com/packages/FastHamming
ER - In prose
These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/FastHamming.Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.