[ 
https://issues.apache.org/jira/browse/ARROW-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16750606#comment-16750606
 ] 

Paddy Horan commented on ARROW-3776:
------------------------------------

I was actually thinking we would need #3.  Taking `value` as an example I would 
be in favor of adding bounds checking to `value` and having a `value_unchecked` 
that does no bounds checking and is unsafe.

I think that we need to provide the unsafe versions for maximum performance due 
to Arrow often being described as a development platform rather than a front 
end API.  i.e. people will use it as the foundation of other higher level 
libraries and so developers will want the option to avoid bounds checking for 
performance reasons.

 

> [Rust] Mark methods that do not perform bounds checking as unsafe
> -----------------------------------------------------------------
>
>                 Key: ARROW-3776
>                 URL: https://issues.apache.org/jira/browse/ARROW-3776
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust
>            Reporter: Paddy Horan
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to