ssbr opened a new pull request, #6551:
URL: https://github.com/apache/arrow-rs/pull/6551

   # Which issue does this PR close?
   
   N/A
   
   # Rationale for this change
    
   I discovered these while reviewing the unsafe code of arrow-rs -- this 
mostly just removes some instances of potentially-unsafe code, replacing them 
with safe equivalents. That makes it easier to review, at (so far as I know) no 
performance cost.
   
   # What changes are included in this PR?
   
   * Reuse `unsafe` code in the `OffsetBufferBuilder`.
   * Use a `u64` instead of an always-initialized `MaybeUninit<u64>`.
   * More precisely specify safety for `read_bytes_to_u64`.
   
   # Are there any user-facing changes?
   
   No.


-- 
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