4 ms·
> 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 g
by rdtsc 2y ago
> 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.