brancz opened a new issue, #37416: URL: https://github.com/apache/arrow/issues/37416
### Describe the enhancement requested I have a case where I have a mix of an external dictionary that I have indexes into and new values that I would like to append in a `BinaryDictionaryBuilder`. Starting with `InsertDictValues` while having some cost, seems negligible at the moment (although starting out with a dictionary and not caring about potential duplication would be a nice option to have), `AppendIndices` appears to be very expensive because of the slices it allocates (in our case about 10% of all CPU time in our query). To combat this, it would be great to allow access to the underlying indices builder to perform optimizations like this, then it would be the caller's responsibility to make sure the dict item exists, but the cost of the slice allocation can be alleviated as well. @zeroshade ### Component(s) Go -- 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]
