Ah, do you compile your Clojure code to Java prior to using it (AOT compilation) ? If not, you must add the clojure compilation time to spit out the class(es) byte code.
Here we deliver AOTed components so there's no compilation overhead, we do this for other reasons than this very small overhead. Of course this will occur only once. Luc > Thank you, for your answer. > > It doesn't convince me, though. > > I am well aware of the class loading mechanism of the JVM. > But if I compile against, say guava-12.0.jar (beautiful stuff by the way), > and use those classes at runtime, there is no delay in using them > whatsoever. > > At least not a delay of nearly a second on my machine, the first time > I use bytecode generated by clojure. > > I am quite sure, that the bytecode generated by clojure, initializes some > sort > of Runtime for itself, the first time it is called. > > My question is, does this happen more than once ? > > Furthermore clojure does not spit out classes. It spits out bytecode. > > Heinz. > > > > > > > -- > 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 -- Softaddicts<lprefonta...@softaddicts.ca> sent by ibisMail from my ipad! -- 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