spiridonov commented on PR #645: URL: https://github.com/apache/arrow-go/pull/645#issuecomment-3779756042
Most of our patterns is like following: * Use a local variable `[]arrow.Field` * Build whatever fields we need here * Pass it into `NewSchema` * Produce arrow record with new schema * Forget the variable and move on We already build fields for a single time use and do not modify them later. So it feels inefficient to clone them right after `NewSchema` call... -- 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]
