Skip to content

FastHamming

1.2

Fast Computation of Pairwise Hamming Distances

0packages depend
2.2Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Ravi VaradhanFirst published 2025-04-252 releasesCRAN page ↗

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: 44 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-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 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.2K
CRAN downloads in the past year
Rank #22,812 · ~6/day · ~185/mo
Daily download trend is not available in this view yet.
6930 days
45390 days
2.2K1 year
Compare downloads with other packages →
Also on388 r2u5 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

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2Latest
    2025-04-27 · current release · diff ↗
  • 1.1
    2025-04-25
  • R
    R 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.FastHamming

BibTeX, 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/FastHamming

RIS

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy