Skip to content

FastHamming

1.3Package record

Fast Computation of Pairwise Hamming Distances

0packages depend
2.2Kdownloads / year
–test coverage
13/13flavors OK

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: 1.8 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-23
  • WARNING12 OK, 1 WARNING2026-08-21
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.3
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
1
Examples that run
0%1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.2K
CRAN downloads in the past year
Rank #23,173 · ~6/day · ~184/mo
Daily download trend is not available in this view yet.
18530 days
56290 days
2.2K1 year
Compare downloads with other packages →
Also on376 r2u1 autocran

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing FastHamming adds no packages beyond those that come with R.

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.

People & History

People (1)
Author, Maintainer since 1.1 (2025)
Releases (3)

Pick two releases to compare their code metrics.

  • 1.3Latest
    record
    2026-08-21 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2
    record
    2025-04-27 · diff ↗
  • 1.1
    record
    2025-04-25
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-04-25
Total releases
3 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Download size
3.5 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("FastHamming")
Varadhan, R. (2026). FastHamming: Fast Computation of Pairwise Hamming Distances (Version 1.3) [Computer software]. https://doi.org/10.32614/CRAN.package.FastHamming

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for FastHamming version 1.3 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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