|
|
|
|
|
by retrogradeorbit
3315 days ago
|
|
It is immutable and persistent, but not with the same performance characteristics. It lacks Bagwell's data structures that allow structural sharing. Take a 10 million item list in elixir and 'change' (return a new) the 5 millionth element. Time how long it takes. Do the same with clojure. Compare. |
|
(You would have to use a map though, the native lists are still plain old lists)