Skip to content

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 qcsd2011@163.com
Signed-off-by: David Li li.davidm96@gmail.com

…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 <qcsd2011@163.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
@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