tisonkun opened a new pull request, #389:
URL: https://github.com/apache/datasketches-rust/pull/389

   This draft reduces the cost of updating distinct-count sketches with short 
keys and encoding CPC sketches that store both window and table entries. Each 
change can be reviewed independently.
   
   1. `edde082` reads MurmurHash3 tails from the initialized buffer in 
little-endian words and masks unused bytes. This preserves streaming hashes 
across fragmented writes. Inputs ending at a block boundary skip the empty tail 
copy. A new CPC update benchmark covers byte keys of lengths 1–32.
   2. `f555103` passes merged CPC pairs straight to the encoder. The table 
pairs are sorted before the merge and the window scan is already ordered, so 
sorting the merged list again repeats work. A regression test compares 
separately encoded sketch and union images with interleaved entries.
   
   Related to #385.
   
   Local validation passed with `cargo x check`, `cargo x test`, `cargo x 
lint`, `cargo x bench -- --test`, and an all-features check on Rust 1.86. 
Differential checks matched the hash outputs and 1,716 serialized sketch and 
union images.
   


-- 
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]

Reply via email to