Waterpine commented on PR #330: URL: https://github.com/apache/datasketches-rust/pull/330#issuecomment-6727799729
@pmcgleenon Thanks for measuring this on Zen 3 and Kaby Lake, and for the follow-up branch. The Zen 3 numbers show the case I could not measure: the gain comes from removing the 64-bit division, so on a CPU with a fast divider the 128-bit reduction costs about as much as the division it replaces, and `bytes_32` ends up slightly slower. I would rather not merge a change that makes a measured case slower, so I'd like to fold your commit into this PR and keep you as its author. With the single-multiply reduction and the inlined hash, your numbers put every scenario below `main` on both CPUs. @tisonkun the `write_u64` override changes the shared `XxHash64`, which Count-Min and XOR also use. Should it stay in this PR, or go in a separate one? Also, could you approve the CI run when you have a moment? -- 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]
