merkle_map v0.2.1 MerkleMap
MerkleMap is a drop-in replacement for Map that optimizes certain operations, making heavy use of Merkle Trees.
Link to this section Summary
Functions
See MerkleMap.MerkleTree.Diff.truncate_diff/2
.
Link to this section Types
Link to this opaque
t()
(opaque)
t()
(opaque)
t()
t()
Link to this section Functions
Link to this function
continue_partial_diff(mm, partial, depth)
Link to this function
delete(mm, k)
Link to this function
diff_keys(mm1, mm2)
Link to this function
drop(mm, keys)
Link to this function
equal?(mm1, mm2)
Link to this function
fetch(mm, key)
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
keys(mm)
Link to this function
merge(mm1, mm2)
Link to this function
merge(mm1, mm2, update_fun)
Link to this function
new()
Link to this function
new(enum)
Link to this function
new(enum, tform)
Link to this function
pop(mm, key)
Link to this function
pop_lazy(mm, key, fun)
Link to this function
prepare_partial_diff(mm, depth)
Link to this function
put(mm, k, v)
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
take(mm, keys)
Link to this function
to_list(mm)
Link to this function
truncate_diff(diff, amount)
See MerkleMap.MerkleTree.Diff.truncate_diff/2
.
Link to this function
update(mm, key, initial, fun)
Link to this function
update!(mm, key, fun)
Link to this function
update_hashes(mm)
Link to this function