Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Compressed Bloom Filters (Golomb-compressed sequences, with indices)
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
GolombEncode.hs
GolombQuery.hs
GolombQuery.js
HashSequence.hs
README.md
base-64-encode.hs
golomb-decode.hs
golomb-encode.hs
golomb-query.hs
make-hash-sequences.hs
make-hash-sequences.rb
make-index.hs
mk-gcs.sh
pedagogicalGolombCode.hs

README.md

gcs

Golomb-compressed sequences (with indices) for large datasets

To create a golomb-compressed sequence, first install packages and compile code.

cabal install bytestring-show pure-md5

ghc --make -O2 make-hash-sequences.hs
ghc --make -O2 golomb-encode.hs
ghc --make -O2 make-index.hs
ghc --make -O2 base-64-encode.hs

And then, write one key per line on stdin to mk-gcs.sh, and mk-gcs.sh will write binary data to stdout, and will write a JSON object to stderr. (The JSON object makes sense to use in a browser, the binary data makes sense to use on the command line.)

Something went wrong with that request. Please try again.