alamb commented on issue #14610: URL: https://github.com/apache/datafusion/issues/14610#issuecomment-2654019734
Hi @zjregee -- would it be possible to iterate through the input once and calculate how much space is needed and then create a StringBuilder with the appropriate capacity via [`StringBuilder::with_capacity`](https://docs.rs/arrow/latest/arrow/array/struct.GenericByteBuilder.html#tymethod.with_capacity) ? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
