It's the time to get all the related classes loaded needed to support the
Clojure
code and yes it's a one time cost. The first reference to x gets this triggered.
Luc
> The following makes it clearer:
>
> package e;
> >
> > import p.x;
> >
> > public final class E {
> > public static void main(String[] args) {
> >
> System.out.println("before");
>
> > for (int i = 0; i < 100; ++i) {
> > System.out.println(x.f());
> > }
> > }
> >
> >
> Now: After launching, the string `before' gets printed (JVM up),
> and *then* there is delay, before the first `hello, world'.
>
> Jetzt aber.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
--
Softaddicts<[email protected]> 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 [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en