You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/06/28 15:21:00 UTC

[jira] [Commented] (ARROW-9253) [C++] Add vectorized "IntegersMultipleOf" to arrow/util/int_util.h

    [ https://issues.apache.org/jira/browse/ARROW-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17147363#comment-17147363 ] 

Wes McKinney commented on ARROW-9253:
-------------------------------------

Since integer division and modulus are expensive operations I'm not sure whether this operation will make sense computationally. 

> [C++] Add vectorized "IntegersMultipleOf" to arrow/util/int_util.h
> ------------------------------------------------------------------
>
>                 Key: ARROW-9253
>                 URL: https://issues.apache.org/jira/browse/ARROW-9253
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Wes McKinney
>            Priority: Major
>
> There are various places where we check whether an array of integers are all a multiple of another number (e.g. a multiple of 86400000 milliseconds per day). It would be better to factor out this data check into a reusable function similar to the {{CheckIntegersInRange}} function



--
This message was sent by Atlassian Jira
(v8.3.4#803005)