Liking cljdoc? Tell your friends :D

ham-fisted.bloom-filter

Simple fast bloom filter based on apache parquet BlockSplitBloomFilter.

Simple fast bloom filter based on apache parquet BlockSplitBloomFilter.
raw docstring

add-uuids!clj

(add-uuids! bf val-seq)

bitset-sizeclj

(bitset-size fb)

Return the length of the byte array underlying this bitset

Return the length of the byte array underlying this bitset
raw docstring

bloom-filterclj

(bloom-filter n f)

Create a bloom filter.

  • 'n' - Number of distinct values.
  • 'f' - Value from 1.0-0.0, defaults to 0.01. False positive rate.
Create a bloom filter.
* 'n' - Number of distinct values.
* 'f' - Value from 1.0-0.0, defaults to 0.01.  False positive rate.
raw docstring

bloom-filter->byte-arrayclj

(bloom-filter->byte-array bf)

byte-array->bloom-filterclj

(byte-array->bloom-filter data)

byte-array-clsclj


contains?clj

(contains? bf obj)

hash-objclj

(hash-obj obj)

Hash an object. If integer - return integer else serialize->bytes and hash those

Hash an object. If integer - return integer else serialize->bytes and hash those
raw docstring

insert-hash!clj

(insert-hash! bf hc)

insert-objclj

(insert-obj bf o)

make-long-hash-predicateclj

(make-long-hash-predicate bf)

make-obj-predicateclj

(make-obj-predicate bf)

make-uuid-hasherclj

(make-uuid-hasher)

make-uuid-predclj

(make-uuid-pred bf)

serialize->bytesclj

(serialize->bytes o)

Serialize an object to a byte array

Serialize an object to a byte array
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close