merkle_map v0.1.3 MerkleMap

MerkleMap is a drop-in replacement for Map that optimizes certain operations, making heavy use of Merkle Trees.

Link to this section Summary

Link to this section Types

Link to this opaque

t() (opaque)
t()

Link to this section Functions

Link to this function

diff_keys(mm1, mm2, depth \\ :full)

Link to this function

equal?(mm1, mm2)

Link to this function

fetch!(mm, key)

Link to this function

from_struct(struct)

Link to this function

get(mm, key, default \\ nil)

Link to this function

get_and_update(mm, key, fun)

Link to this function

get_and_update!(mm, key, fun)

Link to this function

get_lazy(mm, key, fun)

Link to this function

has_key?(merkle_map, k)

Link to this function

merge(mm1, mm2)

Link to this function

merge(mm1, mm2, update_fun)

Link to this function

new(enum, tform)

Link to this function

pop_lazy(mm, key, fun)

Link to this function

prepare_partial_diff(mm, depth)

Link to this function

put_new(mm, key, value)

Link to this function

put_new_lazy(mm, key, fun)

Link to this function

replace!(mm, key, value)

Link to this function

split(mm1, keys)

Link to this function

truncate_diff(diff, amount)

Link to this function

update(mm, key, initial, fun)

Link to this function

update!(mm, key, fun)