Skip to content

[Java] Implement a <Object, int> HashMap for DictionaryEncoder #22235

@asfimport

Description

@asfimport

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions