Skip to content

FastHamming

1.2

Fast Computation of Pairwise Hamming Distances

0packages depend
2.3Kdownloads / 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: 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-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.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
Compare downloads with other packages →
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

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
Report a problem with this page →