andishgar opened a new issue, #51566: URL: https://github.com/apache/arrow/issues/51566
### Describe the enhancement requested Invoking `arrow::ArrayBuilder::type()->id()` can be costly for nested types because the type is constructed on each invocation. Add `arrow::ArrayBuilder::type_id()` so that the type ID can be acquired directly when needed. ### Component(s) C++ -- 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]
