[
https://issues.apache.org/jira/browse/ARROW-10892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248566#comment-17248566
]
Andrew Lamb commented on ARROW-10892:
-------------------------------------
Related discussion:
https://github.com/apache/arrow/pull/8900#discussion_r541727214
> [Rust] Introduce iterators over elements of arrays
> --------------------------------------------------
>
> Key: ARROW-10892
> URL: https://issues.apache.org/jira/browse/ARROW-10892
> Project: Apache Arrow
> Issue Type: Bug
> Reporter: Daniël Heres
> Priority: Minor
>
> 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 over the elements (T instead of
> Option<T>) 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)