Skip to main content

A fast CMS streaming data structure implemented in rust

Project description

count-min-sketch

A simple CMS datstructure in rust. CMS can be created with explicit parameters, with tolerance and probability, or by copying an existing CMS to enable combinations.

Each CMS provides methods to insert and retrieve counts, combine with another CMS, and to multiply all entries by a constant.

a python package can be built with maturin develop which provides a simpler interface to the new_with_probs (via count_min_sketch.PyCMS) constructor which builds a CMS with the methods insert, retrieve, clear, and scale.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

count_min_sketch_rs-0.1.2.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

count_min_sketch_rs-0.1.2-cp39-cp39-macosx_11_0_arm64.whl (169.8 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page