by chipset · 9y ago · 0 comments
So the whole data structure isn't copied but only the relevant parts are added / updated in the tree and the rest is shared with the "new" data structure.
Mutable data structures are still more memory effective but I'm assuming its fine since the author has a blog post on using ferret on an Arduino Uno which has 32k of ram. https://nakkaya.com/2017/02/15/bare-metal-lisp-rc-control-us...
Clojure data Sturucture links: Persistent Vectors http://hypirion.com/musings/understanding-persistent-vector-...
Video with Rick hick on them https://youtu.be/wASCH_gPnDw?t=1742