felipecrv opened a new issue, #42046: URL: https://github.com/apache/arrow/issues/42046
### Describe the enhancement requested I was doing some research on binary size impact of some common idioms and reviewing the usage of `VisitTypeInline`. I stopped in `array_dict.cc` and started looking at binary size micro-optimizations (always measuring with [google/bloaty](https://github.com/google/bloaty)) to the `DictionaryArray::Compact` function and concluded: `VisitTypeInline` should be replaced with an explicit switch on type and the logic that doesn't care about signedness shouldn't be specialized on signedness. ### 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]
