lzjd

Crates.iolzjd
lib.rslzjd
version0.2.0
sourcesrc
created_at2019-03-20 07:57:07.625321
updated_at2019-07-12 09:09:10.715723
descriptionRust implementation of the LZJD algorithm (https://github.com/EdwardRaff/jLZJD)
homepage
repositoryhttps://github.com/tweedegolf/lzjd-rs
max_upload_size
id122646
size63,911
Henk Oordt (hdoordt)

documentation

README

LZJD

Documentation

Rust implementation of Lempel-Ziv Jaccard Distance (LZJD) algorithm based on jLZJD

Main differences:

  • Rust instead of Java
  • Can use any hasher (executable uses CRC32) instead of just Murmur3
  • Does not allocate memory for every unique hash, instead keeps k=1024 smallest
  • Based on Vec instead of IntSetNoRemove, which is more like HashMap
  • Hash files are considerably smaller if small sequences have been digested
USAGE:
    lzjd [FLAGS] [OPTIONS] <INPUT>...

FLAGS:
    -c, --compare        compare SDBFs in file, or two SDBF files
    -r, --deep           generate SDBFs from directories and files
    -g, --gen-compare    compare all pairs in source data
    -h, --help           Prints help information
    -V, --version        Prints version information

OPTIONS:
    -o, --output <FILE>            send output to files
    -t, --threshold <THRESHOLD>    only show results >= threshold [default: 1]

ARGS:
    <INPUT>...    Sets the input file to use

See also:

Commit count: 19

cargo fmt