ls lib/clojure/
Clojure
Persistent maps and transients on the JVM.
- draft Persistent maps in Clojure: HAMTs and structural sharingHow Clojure 1.12.7 makes assoc return a new map without copying the old one: array maps up to eight entries, a 32-way hash array mapped trie after that, Murmur3 hashes, and path copying measured on a million keys.
- draft Transients: how Clojure mutates in privateHow Clojure 1.12.7's transient maps edit a persistent hash trie in place without anyone noticing: the edit token on every node, what persistent! really does, the eight-entry trap, the thread check that was removed in 1.7, and what it saves.