Skip to content

feat: crate metadata and merge operation - #9

Merged
MovAh13h merged 1 commit into
masterfrom
feat/merge-and-metadata
May 13, 2026
Merged

MovAh13h merged 1 commit into
masterfrom
feat/merge-and-metadata

Conversation

@MovAh13h

Copy link
Copy Markdown
Owner

Two additions in one branch — future work will be split into individual PRs.

  • Added crate metadata to Cargo.toml: description, license, repository, keywords, categories
  • Added LICENSE (MIT)
  • Added BloomFilter::merge(&self, other: &Self) — creates a new filter containing the union of both filters
  • Added AtomicBloomFilter::merge(&self, other: &Self) — snapshot union into a new filter
  • Added AtomicBloomFilter::merge_from(&self, other: &Self) — atomic in-place OR using fetch_or(Release)
  • Added BloomError::IncompatibleGeometry — returned when filters have different m or k
  • Added tests covering union correctness, identity merge, item count, and incompatible geometry error

@MovAh13h
MovAh13h merged commit 6bcdbc6 into master May 13, 2026
1 check passed
@MovAh13h
MovAh13h deleted the feat/merge-and-metadata branch May 13, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant