You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by ti...@apache.org on 2026/07/25 13:45:43 UTC
(datasketches-rust) 13/13: docs(theta): describe shared raw sketch views accurately
This is an automated email from the ASF dual-hosted git repository.
tisonkun pushed a commit to branch codex/naming-drift-audit
in repository https://gitbox.apache.org/repos/asf/datasketches-rust.git
commit 76a78b9b12ca65925e3c2f6fbc5521710d750bb0
Author: tison <wa...@gmail.com>
AuthorDate: Sat Jul 25 21:43:37 2026 +0800
docs(theta): describe shared raw sketch views accurately
---
datasketches/src/thetacommon/mod.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/datasketches/src/thetacommon/mod.rs b/datasketches/src/thetacommon/mod.rs
index 2bd279e..458f092 100644
--- a/datasketches/src/thetacommon/mod.rs
+++ b/datasketches/src/thetacommon/mod.rs
@@ -30,10 +30,10 @@ pub trait RawHashTableEntry {
fn hash(&self) -> u64;
}
-/// Read-only input accepted by a raw Theta union.
+/// Read-only input accepted by raw Theta-family set operations.
///
-/// This trait carries complete retained entries, so tuple unions can use the same state machine
-/// while merging their per-key summaries.
+/// This trait carries complete retained entries, so Tuple union, intersection, and A-not-B
+/// operations can share the Theta-family state machines while preserving per-key summaries.
pub trait RawThetaSketchView<E: RawHashTableEntry> {
/// Return the 16-bit seed hash.
fn seed_hash(&self) -> u16;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org