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

   # Which issue does this PR close?
   Closes https://github.com/apache/arrow-rs/issues/5208
   
   # Rationale for this change
    
   I would like to avoid copies when unecessary
   
   # What changes are included in this PR?
   
   1. Return `Cow<NullBuffer>` rather than `NullBuffer` 
   2. Update existing code
   3. Add comments and examples to make what is happening clearer (as I think 
using `Cow`s requires finagling that is sometimes obtuse)
   
   # Are there any user-facing changes?
   Yes, this is an API change
   
   I tried to make it as easy as possible with documentation
   
   <!--
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking 
change` label.
   -->
   


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