Comment by gleenn
5 years ago
That's how Clojure implements vectors except its a tree of 8-element arrays. This has nice functional programming properties because it makes it easy to make immutable copies of large vectors with good performance and memory characteristics.
No comments yet
Contribute on Hacker News ↗