jaideeppyne opened a new pull request, #372: URL: https://github.com/apache/datasketches-rust/pull/372
Closes #364. HLL callers can use `Default` for an empty sketch or union at `lg_k = 12`. The sketch defaults to HLL_8, which is the representation the union already uses internally. Explicit constructors remain available for callers that need a different size or representation. Tuple builders and intersections use their caller-selected policy's default when that policy implements `Default`. The implementation delegates to the existing constructors and keeps configuration validation in the same place. The contributor guide documents the constructor conventions. Verified on macOS with Rust 1.98: `cargo x check`, `cargo x test` (743 passed), and `cargo x lint` passed. Tests exercised the new constructors and included the pinned C++, Go, and Java serialization fixtures. Implementation and tests prepared with OpenAI Codex assistance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
