package plebeia
Functional storage using Merkle Patricia tree
Install
Dune Dependency
Authors
Maintainers
Sources
plebeia-2.0.1.tar.gz
md5=f7d5a3c433784118777699713d437f00
sha512=56d88855cd5553f8f398436c67df2229e4ccad75143057704e7af3153aad47ee6f09e6aeada049514a77871096aeb912ea3ddc4ad620970bf8301c2ee27f4c54
doc/plebeia/Plebeia/Hashcons/index.html
Module Plebeia.Hashcons
Source
1 Cache for small values
This module provides hash-consing of small Leaf values under max_leaf_size
of config
.
2 Configuration
Source
type config = {
max_leaf_size : int;
(*Maximum size of leaf value stored in bytes
*)max_bytes_commit : int;
(*
*)shrink
wipes unpopular data when the size oft
when the table exceeds this amount of bytesmax_bytes_absolute : int;
(*
*)add
wipes unpopular data when the size oft
when the table exceeds this amount of bytesshrink_ratio : float;
}
2 Table
Create an empty hashcons table. To load the existing hashconsed table from the storage, read
must be used.
Find the hasheconsed value from the table
2 Statistics
Print out statistics
Estimated size of the table in bytes. It returns 98-101% of the real size.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>