ets
ets
Module
ets
Module summary
Built-In Term Storage
Description
This module is an interface to the Erlang built-in term storage BIFs. These provide the ability to store very large quantities of data in an Erlang runtime system, and to have constant access time to the data. (In the case of ordered_set
, see below, access time is proportional to the logarithm of the number of objects stored).
Data is organized as a set of dynamic tables, which can store tuples. Each table is created by a process. When the process terminates, the table is automatically destroyed. Every table has access rights set at creation.
Tables are divided into four different types, set
, ordered_set
, bag
and duplicate_bag
. A set
or o