[ 
https://issues.apache.org/jira/browse/ARROW-5290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liya Fan updated ARROW-5290:
----------------------------
    Comment: was deleted

(was: The assembly code of the safe API (when the null-checking is disabled)
 !safe.png! )

> Provide a flag to enable/disable null-checking in vectors' get methods
> ----------------------------------------------------------------------
>
>                 Key: ARROW-5290
>                 URL: https://issues.apache.org/jira/browse/ARROW-5290
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Java
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: safe.png
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> For vector classes, the get method first checks if the value at the given 
> index is null. If it is not null, the method goes ahead to retrieve the 
> value. 
> For some scenarios, the first check is redundant, because the application 
> code has already checked the null, before calling the get method. This 
> redundant check may have non-trivial performance overheads. 
> So we add a flag to enable/disable the null checking, so the user can set the 
> flag according to their own specific scenario. 



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

Reply via email to