[erlang-questions] Indexed element access: array vs. erlang:element
Dimitry Golubovsky
golubovsky@REDACTED
Mon Aug 25 16:40:16 CEST 2008
Hi,
I need an index-based access to elements of a fixed-size array-like
structure. Number of elements is expected to be about several
thousands.
What would be more efficient: to create an array (using the "array"
module) or to build a huge tuple and use erlang:element?
Thanks.
PS I suspect the latter, but how does erlang:element scale on tuples
of such size?
--
Dimitry Golubovsky
Anywhere on the Web
More information about the erlang-questions
mailing list