arrow-fx-stm / arrow.fx.stm.internal / Hamt

Hamt

data class Hamt<A>

Low level stm datastructure which can be used to efficiently implement other datastructures like Map/Set on top.

Based on http://lampwww.epfl.ch/papers/idealhashtrees.pdf and https://hackage.haskell.org/package/stm-hamt.

Constructors

<init> Low level stm datastructure which can be used to efficiently implement other datastructures like Map/Set on top.Hamt(branches: TVar<Array<Branch<A>?>>)

Properties

branches val branches: TVar<Array<Branch<A>?>>

Companion Object Functions

new suspend fun <A> new(): Hamt<A>

Do you like Arrow?

Arrow Org
<