You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Daniël Heres (Jira)" <ji...@apache.org> on 2020/12/13 08:39:00 UTC

[jira] [Created] (ARROW-10892) [Rust] Introduce iterators over T for arrays

Daniël Heres created ARROW-10892:
------------------------------------

             Summary: [Rust] Introduce iterators over T for arrays
                 Key: ARROW-10892
                 URL: https://issues.apache.org/jira/browse/ARROW-10892
             Project: Apache Arrow
          Issue Type: Bug
            Reporter: Daniël Heres


The value functions in the primitive / string / etc arrays are often used to get elements at i in a loop.  Some of them don't have boundary checks for performance reasons, so usage of them is unsafe.

We should introduce a safe iterator that doesn't do boundary checks and can be used to iterate over the elements of the array. Maybe values_iter would be a good name?



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