AdamGS opened a new pull request, #10333: URL: https://github.com/apache/arrow-rs/pull/10333
# Which issue does this PR close? - Closes #NNN. # Rationale for this change For cases where adding or subtracting decimal values that have the same scale, we end up doing a bunch of extra checked mul operations, and turns out if we don't it improves performance significantly. # What changes are included in this PR? 1. Specialize add/sub for decimals when they have the same scale. 2. Benchmark to measure the impact on all decimals types. # Are these changes tested? Existing tests, 1 additional test I added to i256 which was my original target. # Are there any user-facing changes? None -- 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]
