I wonder how this compares with this change Rich made to enable lazy fn initialization: https://github.com/clojure/clojure/commit/71930b6b6537a796cdf13c4ffa7cf93eb53b6235 that he later reverted: https://github.com/clojure/clojure/commit/c5681382da775e898915b17f3ab18b49c65359ec
If I read the first commit correctly that approach consisted in wrapping all fn objects that appears in a def init position in a FnLoaderThunk, which loads the fn class, creates a fn object and binds it to the Var's root the first time the fn is invoked. It's not clear to me why that change was reverted. Gal Dolber writes: > Here're some notes on the lean compiler I've been working on for > clojure-objc > > http://galdolber.tumblr.com/post/78110050703/reduce-startup > > Feedback's welcome -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.