Skip to content

ARROW-16568: [Java] Enable skip BOUNDS_CHECKING with setBytes and get…#104

Merged
zhouyuan merged 1 commit intooap-project:arrow-4.0.0-oapfrom
zhouyuan:wip_bp_ARROW_16568
May 17, 2022
Merged

ARROW-16568: [Java] Enable skip BOUNDS_CHECKING with setBytes and get…#104
zhouyuan merged 1 commit intooap-project:arrow-4.0.0-oapfrom
zhouyuan:wip_bp_ARROW_16568

Conversation

@zhouyuan
Copy link

…Bytes of ArrowBuf

We have BOUNDS_CHECKING_SKIP in ArrowBuf.setByte or ArrowBuf.getByte, it helps to remove unexpected bounds checks. However, it doesn't exists in ArrowBuf.setBytes or ArrowBuf.getBytes, which makes 10% cpu time cost for checking bounds in our environment.

Closes apache#13161 from jackylee-ch/skip_bounds_check_for_set_or_get_bytes

Authored-by: stczwd [email protected]
Signed-off-by: David Li [email protected]

…Bytes of ArrowBuf

We have BOUNDS_CHECKING_SKIP in ArrowBuf.setByte or ArrowBuf.getByte, it helps to remove unexpected bounds checks. However, it doesn't exists in ArrowBuf.setBytes or ArrowBuf.getBytes, which makes 10% cpu time cost for checking bounds in our environment.

Closes apache#13161 from jackylee-ch/skip_bounds_check_for_set_or_get_bytes

Authored-by: stczwd <[email protected]>
Signed-off-by: David Li <[email protected]>
@github-actions
Copy link

@zhouyuan zhouyuan merged commit b0db6d8 into oap-project:arrow-4.0.0-oap May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant