On Sat, Nov 21, 2009 at 08:42:26PM -0500, John Harrop wrote: >Are you talking about binding things like String.class to vars referenced by >symbols like String?
Not just String.class, every single class referenced by a given namespace will be loaded, and most of them instantiated before a single line of my code runs. It's why: $ time ant ... (no ant file, it just fails) real 0m0.155s $ time clj -e '(System/exit 0)' real 0m0.960s is so drastically different. Compiling this: (ns foo (:gen-class)) (defn -main []) and running $ time java -cp classes:clojure.jar foo real 0m0.749s still loads and instantiates every single function defined in core.clj. David -- 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