As a follow-up of ARROW-5726. Implement a Map<Object, int> for DictionaryEncoder to reduce boxing/unboxing operations.
Benchmark:
DictionaryEncodeHashMapBenchmarks.testHashMap: avgt 5 31151.345 ± 1661.878 ns/op
DictionaryEncodeHashMapBenchmarks.testDictionaryEncodeHashMap: avgt 5 15549.902 ± 771.647 ns/op
Reporter: Ji Liu / @tianchen92
Assignee: Ji Liu / @tianchen92
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-5814. Please see the migration documentation for further details.