You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "cyb70289 (via GitHub)" <gi...@apache.org> on 2023/09/13 14:54:42 UTC

[GitHub] [arrow] cyb70289 commented on issue #37678: [C++][Compute] Checked arithmetic functions are slow-ish

cyb70289 commented on issue #37678:
URL: https://github.com/apache/arrow/issues/37678#issuecomment-1717795510

   Did a quick test, looks the gap should be smaller.
   https://quick-bench.com/q/ywSl6NYEUc2KYq4h6MkP7t3yWqo
   
   The checked version uses gcc `__builtin_*_overflow`, same as [safe-math](https://github.com/nemequ/portable-snippets/tree/master/safe-math).
   From disassembly, the uncheck version is vectorized.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org