CISSAlgorithm origin & lineage registry

AlgorithmsData structuresEdit on GitHubEdit history

Hash Array Mapped Trie

HAMT2001

A trie that uses successive chunks of a key's hash as the index at each level and represents each node as a bitmap plus a compact array holding only the children that exist. It is used for immutable hash maps in languages such as Clojure and Scala.

Origin

Phil Bagwell (2001). Ideal Hash Trees. EPFL Technical Report (2001).infoscience.epfl.ch/record/64398

Lineage

Algorithms 4 · Relations 3

Parent algorithms

Where it came from
Trie1959VariantVerified90%

Author statementThe HAMT is a trie that branches on bits of the hash value and compresses nodes with bitmaps. — infoscience.epfl.ch/record/64398

Derived algorithms

What it led to
Compressed Hash-Array Mapped Prefix-tree2015OptimizationVerified95%

Author statementThe CHAMP paper changes the node layout of HAMTs to improve iteration speed and memory use. — doi:10.1145/2814270.2814312

Ctrie2012VariantVerified90%

Author statementThe Ctrie builds on the HAMT node structure to support lock-free concurrent updates. — doi:10.1007/978-3-642-36036-7_11

Notable implementations

Paths checked against the GitHub default branch

Find more: GitHub · Semantic Scholar · Google Scholar · arXiv

Claims & disputes

Loading…