probabilistic-collections

Crates.ioprobabilistic-collections
lib.rsprobabilistic-collections
version0.7.0
sourcesrc
created_at2018-09-06 05:32:59.52044
updated_at2020-05-11 01:35:54.673779
descriptionVarious implementations of collections that use approximations to improve on running time or memory, but introduce a certain amount of error.
homepage
repositoryhttps://gitlab.com/jeffrey-xiao/probabilistic-collections-rs
max_upload_size
id83135
size267,698
Jeffrey Xiao (jeffrey-xiao)

documentation

https://docs.rs/probabilistic-collections

README

probabilistic-collections-rs

probabilistic-collections Documentation License: MIT License: Apache 2.0 Pipeline Status Coverage Report

probabilistic-collections contains various implementations of collections that use approximations to improve on running time or memory, but introduce a certain amount of error. The error can be controlled under a certain threshold which makes these data structures extremely useful for big data and streaming applications.

The following types of collections are implemented:

  • Approximate Membership in Set: BloomFilter, PartitionedBloomFilter, CuckooFilter, QuotientFilter
  • Scalable Approximate Membership in Set: ScalableBloomFilter, ScalableCuckooFilter
  • Approximate Membership in Stream: BSBloomFilter, BSSDBloomFilter, RLBSBloomFilter
  • Approximate Item Count: CountMinSketch
  • Approximate Distinct Item Count: HyperLogLog
  • Set similarity: MinHash, SimHash

Usage

Add this to your Cargo.toml:

[dependencies]
probabilistic-collections = "*"

For serde support, include the serde feature:

[dependencies]
probabilistic-collections = { version = "*", features = ["serde"] }

Add this to your crate root if you are using Rust 2015:

extern crate probabilistic_collections;

Changelog

See CHANGELOG for more details.

References

License

probabilistic-collections-rs is dual-licensed under the terms of either the MIT License or the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for more details.

Commit count: 92

cargo fmt