[ https://issues.apache.org/jira/browse/ARROW-9118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17137945#comment-17137945 ]
Wes McKinney commented on ARROW-9118: ------------------------------------- This can be used to check for integer downcast overflows faster > [C++] Add more general BoundsCheck function that also checks for arbitrary > lower limits in integer arrays > --------------------------------------------------------------------------------------------------------- > > Key: ARROW-9118 > URL: https://issues.apache.org/jira/browse/ARROW-9118 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Wes McKinney > Assignee: Wes McKinney > Priority: Major > Fix For: 1.0.0 > > > See ARROW-9083. The current {{IndexBoundsCheck}} is specialized to skip a > comparison for unsigned integers and uses 0 as the lower bound for signed > integers. This could be generalized so that we could check e.g. if int64 > values will fit in the int32 range -- This message was sent by Atlassian Jira (v8.3.4#803005)