4 ms·
It can't. Try benchmark sequential access on array to see sub-nanosecond per item. That's fast.
by unrealhoang 7y ago
It can't.
Try benchmark sequential access on array to see sub-nanosecond per item. That's fast.
- gjstein 7y agoFrom the article: > Even though List is very fast across the board no data-structure can be the fastest at everything. This feels like a case in which everything is sufficiently well-implemented that the No Free Lunch Theorem [1] starts to play a role. [1] https://en.wikipedia.org/wiki/No_free_lunch_theorem https://en.wikipedia.org/wiki/No_free_lunch_theorem