davecromberge commented on PR #344: URL: https://github.com/apache/datasketches-rust/pull/344#issuecomment-6800532225
> Thanks for the optimization! Pushed a few follow-up commits to refine and extend the compaction path across the Theta family: > > * Track `remaining` in `SketchHashTableIter` (`ExactSizeIterator` and early termination once all retained entries are yielded). > * Refine the uniform-hash bucket sort (bitwise-OR MSB shift, stack-allocated offset tables up to `lg_buckets <= 12`, and power-of-two bucket index masking). > * Centralize canonical ordering in `CompactSketchState::compact` and `SketchEntry::sort_by_hash` across `TupleSketch` (using the `Option<TupleEntry<S>>` niche to scatter entries without cloning summaries) as well as Theta and Tuple `Union`, `Intersection`, and `ANotB`, while keeping theta-screened union outputs compact in capacity. > * Align Theta and Tuple compaction and set-operation tests with observable ordering and storage contracts. Thank you @tisonkun, I appreciate your help. I'm a Rust beginner and have used Claude quite heavily. I am learning a lot from your follow-up commits. -- 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]
