mochiglobal
Abuse module constant pools as a "read-only shared heap" (since erts 5.6) [1].
Abuse module constant pools as a "read-only shared heap" (since erts 5.6)
Functions
delete(K) -> term()
Delete term stored at K, no-op if non-existent.
get(K) -> term()
Equivalent to get(K, undefined).
get(K, Default) -> term()
Get the term for K or return Default.
put(K, V) -> term()
Store term V at K, replaces an existing term if present.