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 3 months ago. Updated 3 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 #1

Updated by Victor Julien 3 months ago

  • Parent task set to #6721
Actions

Also available in: Atom PDF