[erlang-questions] Indexed element access: array vs. erlang:element
Mon Aug 25 21:21:45 CEST 2008
On Mon, Aug 25, 2008 at 6:22 PM, Joel Reymont <> wrote:
> On Aug 25, 2008, at 5:59 PM, Hynek Vychodil wrote:
>> You have typo in your code. Set on tuple can't be as fast as your
>> measure :)
>> You do get on Extensible array and tuple instead of set and you call
>> inside set cycle which remove data structure away.
> I updated my blog post to remove the typo and re-ran the benchmarks.
Interesting benchmark. I tried compiling the array API natively and
got pretty decent improvements, especially for the array set
operations (approx 40% better). .
More information about the erlang-questions