2010YOUY01 commented on issue #7184: URL: https://github.com/apache/arrow-rs/issues/7184#issuecomment-2677786960
> I wonder if instead of baking this into the interleave kernel, and potentially others besides, it would be better for applications to call https://docs.rs/arrow-array/latest/arrow_array/array/struct.GenericByteViewArray.html#method.gc when appropriate? > > This would have a number of advantages: > > * Don't need to modify multiple kernels > * Applications can chain kernels and only perform GC once at the end > * Applications are in control of any heuristics as to when this should take place Thanks for the perspectives. We're currently using `gc()`. Performing the copy within the interleave kernel is just slightly more efficient. If adding an additional interface inside `arrow` isn't ideal, we can implement this fused logic at the application level. -- 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