You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by GitBox <gi...@apache.org> on 2021/07/07 15:51:26 UTC

[GitHub] [orc] belugabehr opened a new pull request #738: ORC-833: Calculate nextVector Batch Size Once

belugabehr opened a new pull request #738:
URL: https://github.com/apache/orc/pull/738


   ### What changes were proposed in this pull request?
   
   The number of iterations of the loops in RunLengthIntegerReaderV2 nextVector look at two distinct, but known, values. Instead of check each value in each loop, pre-compute the batch size.
   
   
   ### Why are the changes needed?
   Code clarity, and if the optimizer doesn't already do it automagically, saves a few branches.
   
   
   ### How was this patch tested?
   No changes in functionality.  Uses existing unit tests.


-- 
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: dev-unsubscribe@orc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [orc] dongjoon-hyun commented on pull request #738: ORC-833: Calculate nextVector Batch Size Once

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #738:
URL: https://github.com/apache/orc/pull/738#issuecomment-875940248


   Merged to main.


-- 
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: dev-unsubscribe@orc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [orc] dongjoon-hyun merged pull request #738: ORC-833: Calculate nextVector Batch Size Once

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun merged pull request #738:
URL: https://github.com/apache/orc/pull/738


   


-- 
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: dev-unsubscribe@orc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org