bloom-bitset 11.1.0

Zero-dependency probabilistic data structures: 512-bit cache-line-blocked Bloom filter, 4-bit saturating Counting Bloom filter, and HyperLogLog cardinality estimator.
Documentation
<div align="center">

# bloom-bitset

**Zero-Dependency Cache-Line-Blocked Bloom Filter, Counting Bloom & HyperLogLog**

[![crates.io](https://flat.badgen.net/crates/v/bloom-bitset)](https://crates.io/crates/bloom-bitset)
[![docs.rs](https://img.shields.io/docsrs/bloom-bitset?style=flat-square)](https://docs.rs/bloom-bitset)
[![Rust 2024](https://img.shields.io/badge/edition-2024-orange.svg?style=flat-square)](https://www.rust-lang.org)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](../LICENSE)

[Workspace Overview](../README.md) · [API Docs](https://docs.rs/bloom-bitset/latest/) · [Agent Engineering Rules](../AGENTS.md)

</div>

---

## Overview

Provides zero-dependency probabilistic data structures: 512-bit cache-line-aligned `BlockedBloomFilter`, 4-bit saturating `CountingBloomFilter` with deletion support, and 64-bit `HyperLogLog` cardinality estimation with distributed merge.

This package is part of the [`ctares`](../README.md) unified Rust 2024 workspace and follows the repository's strict module purity, formatting, and dependency-ordered release standards.

## Installation & Quick Start

```sh
cargo add bloom-bitset
```

```rust
use bloom_bitset::*;

let mut bf: BlockedBloomFilter = BlockedBloomFilter::with_rate(10_000, 0.01);
bf.insert(b"session:abc");
assert!(bf.contains(b"session:abc"));

let mut hll: HyperLogLog = HyperLogLog::default();
hll.insert(b"visitor-1");
assert!(hll.estimate() >= 1.0);
```

## License

This project is licensed under the MIT License. See the [LICENSE](../LICENSE) file for details.