tustvold commented on issue #1750: URL: https://github.com/apache/arrow-rs/issues/1750#issuecomment-1153858639
> The trouble was that if we don't pass down the offset and length to the ArrayData of a's children, we'd be bound to always knowing a's offset, which forces us to compute it each time we access a or any of its children. I think caching the sliced array on `StructArray::boxed_fields` would avoid this, and is consistent with what we do for PrimtiveArray / StringArray, etc... ? > but yea perhaps first-prize would be propagating offsets and value lengths to a redesigned Buffer and Bitmap Agreed, and I think the first step of this is removing the remaining places that "leak" offsets into the Array-level interfaces :smile: -- 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