Project

General

Profile

Actions

Optimization #6721

open

hash tables: explore how red black trees compare to linked list in hash buckets

Added by Victor Julien 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

From #6720: "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."


Subtasks 1 (1 open0 closed)

Optimization #6720: flow: explore how red black trees compare to linked list in hash bucketsNewShivani BhardwajActions
Actions #1

Updated by Victor Julien 9 months ago

  • Subtask #6720 added
Actions #2

Updated by Jason Ish 9 months ago

We've also talked about trying Rust's HashMap by exposing it over FFI.

Actions

Also available in: Atom PDF