felipecrv opened a new pull request, #35677:
URL: https://github.com/apache/arrow/pull/35677

   ### Rationale for this change
   
   Copying ArraySpan is not without issues (see #35581), and this change seems 
good by itself as it makes it easier for the compiler to SROA [1] the whole 
`RunEndEncodedArraySpan` class.
   
   [1] 
https://www.llvm.org/docs/Passes.html#sroa-scalar-replacement-of-aggregates
   
   ### What changes are included in this PR?
    
    - Make `array_span` private in `ree_util::RunEndEncodedArraySpan`
    - Allow construction of  `ree_util::RunEndEncodedArraySpan` with separate 
`offset` and `length`
    - Change `RunEndEncodedBuilder` to avoid a copy of the `ArraySpan` being 
iterated over
    
   ### Are these changes tested?
   
   Yes, by the existing unit tests of the various uses of 
`RunEndEncodedArraySpan`.
   
   ### Are there any user-facing changes?
   
   No meaningful changes.


-- 
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: github-unsubscr...@arrow.apache.org

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

Reply via email to