Comment

Comment by rurban

Logarithmic is not constant.

The fact that elm announces constant array access will not surprise anybody, as this is an inherent property of arrays. But then seeing that they have to use radix-trees for arrays and announcing it as constant is highly misleading. These guys should switch over to politics.

And this only holds for immutable arrays! So even without push,pop,shift,unshift they have to use trees for arrays.

parent rurban 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton