Fork me on GitHub
Alex Miller (Clojure team)20:02:25

for anyone looking for details on the "slow to load code in user.clj" problem with latest jdks - see and Probably best to take any serious discussion to the jira comments.

👍 30
😱 10
Alex Miller (Clojure team)22:02:20

APersistentMap is an abstract class extended by many map implementations, and generically they can't all be made into transients, only those that are ITransientAssociative. If you are using a transient map already, then you should get that effect (via the impl in ATransientMap). The concrete collections (which know whether they are transient-able), like PersistentHashMap / PersistentArrayMap, could probably override that function and do that though.