You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Ji Liu (JIRA)" <ji...@apache.org> on 2019/07/01 09:38:00 UTC

[jira] [Created] (ARROW-5814) [Java] Implement a HashMap for DictionaryEncoder

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)