tisonkun commented on PR #387: URL: https://github.com/apache/datasketches-rust/pull/387#issuecomment-7002560853
I also checked workloads that miss the first-merge optimization on an M4 Max. At `lg_k=11`, folding a wider Sliding input into an empty union and merging Sliding into a sparse accumulator were both within 1% of baseline by paired median. One regression reproduced in two builds. An existing matrix repeatedly merging Sparse sketches built from 32 values took 4–6% longer (about 1.5–1.8 ns per merge). That path bypasses the new condition. With a matching Sliding input first and 64 distinct small partials afterward, the whole sequence took 21% less time across ten paired runs. With 512 partials, the median difference was about 1% and varied in both directions. -- 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]
