jhorstmann commented on issue #1901:
URL: https://github.com/apache/arrow-rs/issues/1901#issuecomment-1158840184

   Since this seems to be only used for getting the width of bitpacked data, a 
faster way to calculate that is using the `leading_zeros` function. I 
contributed a similar improvements to parquet2 some time ago: 
https://github.com/jorgecarleitao/parquet2/blob/34aac65e433cff8bdd9fb07147cb551584a5415c/src/read/levels.rs#L3


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to