Hacker News new | ask | show | jobs
by deliminator 4643 days ago
Clojure's standard persistent vectors don't allow insertion in the middle without copying the entire vector, they only allow fast insertion at the end. There is an alternative implementation here [1] which does allow insertion (anywhere) without copying the entire vector.

[1] https://github.com/clojure/core.rrb-vector