News for hackers. Stuff that matters.
Re:Elixir Gotchas by rdtsc on Wednesday June 26, 2024 @08:20AM (#40799128)
> random O(n) access

O(1) for reading I believe. The slightly awkward array module is built on top of tuples, a 10-tree of tuples? or something like it.

But good point, once in a while I see list_to_tuple to provide faster indexed reads on lists.

There are no comments on this comment yet.