etseidl commented on PR #8757:
URL: https://github.com/apache/arrow-rs/pull/8757#issuecomment-3474131237
FWIW I tried using
```
// byte N
let byte = self.read_byte()?;
if byte & 0x80 == 0 {
return Ok(in_progress | ((byte as u64) << N*7));
}
in_progress |= ((byte & 0x7f) as u64) << N*7;
```
as the unit of work and that worked a bit better on my laptop. No need to
mask `byte` if we already know the MSB is 0.
--
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]