Overview
Judy Array is a associative arrays method for sparse array storage. It works by using adaptive trie nodes tuned for sparse integer keys.
Judy Array addresses sparse array storage by using adaptive trie nodes tuned for sparse integer keys.
Compact metadata for implementation and discovery.
Judy Array is a associative arrays method for sparse array storage. It works by using adaptive trie nodes tuned for sparse integer keys.
Quick facts
Runtime and memory behavior at a glance.
Best
O(1)
Average
O(log n)
Worst
O(n)
Space
O(n)
Show using adaptive trie nodes tuned for sparse integer keys on a small sparse array storage example.
Judy Array operates in O(log n) time and O(n) space within the Associative Arrays family. Often compared with Compressed Sparse Row and Edge List Representation.
What each reference supports for this entry.
Project documentation for Judy arrays, sparse integer/string indexes, and cache-aware trie nodes.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Judy arrays use cache-conscious trie/radix-style node choices for sparse associative arrays.
Both compress sparse key paths to reduce memory and lookup overhead.