[erlang-questions] Indexed element access: array vs. erlang:element

Joel Reymont <>
Mon Aug 25 18:42:55 CEST 2008


There are serious errors in the code I posted but I updated the code  
here and added gb_trees for kicks:

http://www.wagerlabs.com/blog/2008/08/optimizing-erlang-a-death-match-of-arrays-vs-tuples.html#more

One of the differences is that I'm using the populated data structure  
for get operations instead of an empty one.

Times are in microseconds as Serge Aleynikov kindly pointed out.

	Thanks, Joel





More information about the erlang-questions mailing list