Project

General

Profile

Actions

Optimization #6720

open

Optimization #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

Added by Shivani Bhardwaj 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Target version:
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

Also available in: Atom PDF