commit | e0edc954bdeee4d09b8e0c4be83754994fed1b2b | [log] [tgz] |
---|---|---|
author | Ritchie Vink <ritchie46@gmail.com> | Sun Apr 18 06:48:42 2021 -0400 |
committer | Andrew Lamb <andrew@nerdnetworks.org> | Sun Apr 18 06:48:42 2021 -0400 |
tree | 010aa0f7bdf1b18acad4ef417af0c4678b3e3fc0 | |
parent | d05fc30183d1c4e3489faa572b426871eb5a381f [diff] |
ARROW-12398: [Rust] remove redundant bound check in iterators This PR removes the bound checks as discussed in #9994. Furthermore I added `unsafe` versions of the `value` method to `PrimitiveArray` and `BooleanArray`. The `safe` marked methods are actually `unsafe`. This way we can slowly transition to explicitly using the `unsafe` variant and later make the "safe" one truly safe. For the time being I also added a `debug_assert` bounds check in those "safe" methods that are `unsafe`. That way we at least get a panic in debug mode instead of UB in safe code. Closes #10046 from ritchie46/iterator_bounds Authored-by: Ritchie Vink <ritchie46@gmail.com> Signed-off-by: Andrew Lamb <andrew@nerdnetworks.org>
Apache Arrow is a development platform for in-memory analytics. It contains a set of technologies that enable big data systems to process and move data fast.
Major components of the project include:
Arrow is an Apache Software Foundation project. Learn more at arrow.apache.org.
The reference Arrow libraries contain many distinct software components:
The official Arrow libraries in this repository are in different stages of implementing the Arrow format and related features. See our current feature matrix on git master.
Please read our latest project contribution guide.
Even if you do not plan to contribute to Apache Arrow itself or Arrow integrations in other projects, we'd be happy to have you involved: