Skip to main navigation Skip to search Skip to main content

HAMFAST: Fast hamming distance computation

  • Francesco Pappalardo
  • , Cristiano Calonaci
  • , Marzio Pennisi
  • , Emilio Mastriani
  • , Santo Motta

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Similarity is a vague concept which can be treated in a quantitative manner only using appropriate mathematical representation of the objects to compare and a metric on the space representation. In biology the mathematical representation of structure relies on strings taken from an alphabet of m symbols. Very often binary strings, m = 2, are used. The size of the binary string depends on the complexity of the structure to represent, so the string can be quite long. The Hamming distance is the most used metric with binary strings. The computational effort required to compute the Hamming distance linearly depends on the size of the string. However even a linear effort case may be computational heavy if many computations are required. One of the fastest computational approach to evaluate Hamming distances relies on look-up tables. The computational performance, however, rapidly deteriorates with the size of binary string length, due to cache misses. We present a computational strategy and implementation which can handle huge number of Hamming distance evaluation between binary strings of arbitrary length keeping computational performance competitive.

Original languageEnglish
Title of host publication2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009
Pages569-572
Number of pages4
DOIs
Publication statusPublished - 2009
Externally publishedYes
Event2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009 - Los Angeles, CA, United States
Duration: 31 Mar 20092 Apr 2009

Publication series

Name2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009
Volume1

Conference

Conference2009 WRI World Congress on Computer Science and Information Engineering, CSIE 2009
Country/TerritoryUnited States
CityLos Angeles, CA
Period31/03/092/04/09

Fingerprint

Dive into the research topics of 'HAMFAST: Fast hamming distance computation'. Together they form a unique fingerprint.

Cite this