klion26 opened a new issue, #7977: URL: https://github.com/apache/arrow-rs/issues/7977
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] (This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*) --> This issue wants to make improvements for the list builder like #7899 for Object Builder **Describe the solution you'd like** <!-- A clear and concise description of what you want to happen. --> What I would like to do is avoid the extra allocation to improve performance **Describe alternatives you've considered** <!-- A clear and concise description of any alternative solutions or features you've considered. --> 1. Change the ListBuilder so it remembers where the list should start in the parent's buffer 2. Remove `ListBuilder::buffer` 3. On append, the ListBuilder writes directly into the parent's buffer 4. On `ListBuilder::finish` compute how much space is needed for the offset, and shift the child list bytes down by that amount in the parent's buffer 5. Fill in the list header + offsets for the child array 6. return **Additional context** <!-- Add any other context or screenshots about the feature request here. --> -- 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]
