Ji Liu created ARROW-5814:
-----------------------------

             Summary: [Java] Implement a <Object, int> HashMap for 
DictionaryEncoder
                 Key: ARROW-5814
                 URL: https://issues.apache.org/jira/browse/ARROW-5814
             Project: Apache Arrow
          Issue Type: Improvement
            Reporter: Ji Liu
            Assignee: Ji Liu


As a follow-up of 
[ARROW-5726|https://issues.apache.org/jira/browse/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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to