Arrays vs tuples / lists
Tue May 18 02:09:16 CEST 2004
Ulf Wiger <ulf.wiger@REDACTED> wrote:
> 5> test:tup(1000,big).
> 8> test:ets(1000,big).
Whoa! I'll take that big tuple read-only any day. :)
Of course, the tuple is only good if:
- only one process needs access to it (as otherwise it'll be cloned
in every single process, unless you use single heap?)
- its read only
Man, I never thought that the difference would be that big though.
Learn something new every day.
More information about the erlang-questions