[
https://issues.apache.org/jira/browse/ARROW-10892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Lamb updated ARROW-10892:
--------------------------------
Summary: [Rust] Introduce safe and performant iterators over elements of
arrays (was: [Rust] Introduce iterators over elements of arrays)
> [Rust] Introduce safe and performant 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)