You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/23 07:40:44 UTC
[GitHub] [arrow] liyafan82 opened a new pull request #10576: ARROW-13147: [Java] Respect the rounding policy when allocating vector buffers
liyafan82 opened a new pull request #10576:
URL: https://github.com/apache/arrow/pull/10576
According to the current implementation, the default "next power of two" rounding policy is assumed when allocating buffers for a vector.
In particular, for fixed width vectors, this policy is applied for the validity and data buffers, and for variable width vectors, this policy is applied for the validity and offset buffers.
However, this default policy is not always used for the allocator. When an alternative policy is in use, the buffers allocated assuming the default policy will have inappropriate capacities, which may lead to waste of memory spaces.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] github-actions[bot] commented on pull request #10576: ARROW-13147: [Java] Respect the rounding policy when allocating vector buffers
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #10576:
URL: https://github.com/apache/arrow/pull/10576#issuecomment-866607537
https://issues.apache.org/jira/browse/ARROW-13147
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] liyafan82 commented on pull request #10576: ARROW-13147: [Java] Respect the rounding policy when allocating vector buffers
Posted by GitBox <gi...@apache.org>.
liyafan82 commented on pull request #10576:
URL: https://github.com/apache/arrow/pull/10576#issuecomment-873728015
> LGTM. Feel free to merge, or I'll do so when I'm at the right computer.
@emkornfield Thanks a lot for your feedback. Merging...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] liyafan82 closed pull request #10576: ARROW-13147: [Java] Respect the rounding policy when allocating vector buffers
Posted by GitBox <gi...@apache.org>.
liyafan82 closed pull request #10576:
URL: https://github.com/apache/arrow/pull/10576
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org