are Mnesia tables immutable?
Ulf Wiger (AL/EAB)
ulf.wiger@REDACTED
Thu Jun 22 14:57:10 CEST 2006
Richard A. O'Keefe wrote:
>
> If "Lines" refers to Ulf Wiger's 'lines' module, that defines
> an indexable sequence data type which stores its contents as
> a balanced binary tree of "blocks" (where a "block" may have
> up to 10 elements).
> There is nothing in that module that knows or cares what the
> elements are. As it happens, 'lines' itself _will_ turn any
> stirng into a tree.
The Lines module was of course never intended to be used for strings,
but mainly (initially) a line buffer, where each entry might be a
string.
I agree fully that it would be a bad structure to represent strings.
BR,
Ulf W
More information about the erlang-questions
mailing list