cyb70289 edited a comment on pull request #8466: URL: https://github.com/apache/arrow/pull/8466#issuecomment-714173837
> I'm curious why Int64 would be faster than Double. Aren't they using the same algorithm? (and Int64 goes through an additional int-to-float conversion for each value) There's no int-to-float conversion in Int64 [summation loop](https://github.com/apache/arrow/pull/8466/files#diff-dedd9eac8bca7dd5bd0dd5951eab6daa717efb56d8b5d2adc49288c88216a62cR45-R50) (sum to Int128). It's faster than double summation. https://quick-bench.com/q/-P9E6tgtXqnVBpVmmN6piaZHeUA ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
