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

Colm Dougan colm.dougan@REDACTED
Mon Aug 25 21:21:45 CEST 2008


On Mon, Aug 25, 2008 at 6:22 PM, Joel Reymont <joelr1@REDACTED> 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
>> this
>> 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).  .

Colm



More information about the erlang-questions mailing list