Fork me on GitHub

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.

👍 6
😱 2

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.