2 ms·
Interesting. I wonder how similar a Judy array is to an rrb-tree (relaxed radix binary tree), or if they're the same thing. An rrb-tree is an effective O(1) t
by proverbialbunny 7y ago
Interesting. I wonder how similar a Judy array is to an rrb-tree (relaxed radix binary tree), or if they're the same thing.
An rrb-tree is an effective O(1) time for every category. Scala's Vector type implements one.
If interested about the data structure: https://youtu.be/sPhpelUfu8Q https://youtu.be/sPhpelUfu8Q
Scala bigO doc: https://docs.scala-lang.org/overviews/collections-2.13/performance-characteristics.html https://docs.scala-lang.org/overviews/collections-2.13/perfo...
Scala's doc on it: https://github.com/nicolasstucki/scala-rrb-vector/blob/master/documents/RRB%20Vector%20-%20A%20Practical%20General%20Purpose%20Immutable%20Sequence.pdf https://github.com/nicolasstucki/scala-rrb-vector/blob/maste...