Actions
Optimization #6720
openOptimization #6721: hash tables: explore how red black trees compare to linked list in hash buckets
flow: explore how red black trees compare to linked list in hash buckets
Effort:
Difficulty:
Label:
Description
Since Java 8, HashMaps use red black trees for hash buckets in case of collisions instead of linked lists and it has been a huge boost to perf. Given that we also use linked lists for the same purpose, it may be interesting to explore how trees would behave in such a situation.
Actions