cryptoe commented on code in PR #15559:
URL: https://github.com/apache/druid/pull/15559#discussion_r1503685181
##########
processing/src/main/java/org/apache/druid/query/groupby/epinephelinae/DictionaryBuilding.java:
##########
@@ -53,6 +63,39 @@ public static <T> Object2IntMap<T> createReverseDictionary()
return m;
}
+ private static <T> Object2IntMap<T> createReverseDictionary(final
Hash.Strategy<T> hashStrategy)
+ {
+ final Object2IntOpenCustomHashMap<T> m = new
Object2IntOpenCustomHashMap<>(hashStrategy);
Review Comment:
Since this PR is open for sometime, lets do this work as part of a follow up
PR since we would require a some benchmark code as well.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]