[ https://issues.apache.org/jira/browse/ARROW-11270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-11270: ----------------------------------- Labels: pull-request-available (was: ) > [Rust] Use slices for simple array data buffer access > ----------------------------------------------------- > > Key: ARROW-11270 > URL: https://issues.apache.org/jira/browse/ARROW-11270 > Project: Apache Arrow > Issue Type: Improvement > Components: Rust > Reporter: Tyrel Rink > Assignee: Tyrel Rink > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Using an approach similar to ARROW-10989, migrate typed array API's to use > slices where they can. > This impacts the API of: > * GenericBinaryArray<> > * GenericListArray<> > * GenericStringArray<> > This also enables bounds checking in every value() function on each of the > above arrays (as well as PrimitiveArray<> ). > The new PrimitiveArray.value() bounds check has a negative performance > impact on various benchmarks that still use the .Value(...) function on > PrimitiveArray. But that should be resolvable by using the > PrimitiveArray.values() instead (whether within this PR or a future PR). -- This message was sent by Atlassian Jira (v8.3.4#803005)