Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion does delay in calling clojure from java happen only once ?

Received: by 10.52.88.174 with SMTP id bh14mr4125512vdb.6.1337284387247;
        Thu, 17 May 2012 12:53:07 -0700 (PDT)
X-BeenThere: clojure@googlegroups.com
Received: by 10.52.33.167 with SMTP id s7ls554772vdi.5.gmail; Thu, 17 May 2012
 12:53:00 -0700 (PDT)
Received: by 10.52.19.110 with SMTP id d14mr415903vde.10.1337284380899;
        Thu, 17 May 2012 12:53:00 -0700 (PDT)
Date: Thu, 17 May 2012 12:53:00 -0700 (PDT)
From: raschedh <rasche...@gmail.com>
To: clojure@googlegroups.com
Message-ID: <32708256.2998.1337284380646.JavaMail.geo-discussion-forums@vbx14>
In-Reply-To: <26104012.3008.1337284114462.JavaMail.geo-discussion-forums@vbbhi10>
References: <31951612.1840.1337215118255.JavaMail.geo-discussion-forums@vbli11><1337278430.713977@softaddicts.ca> <31614661.2857.1337279591679.JavaMail.geo-discussion-forums@vbyb13><1337280573.405040@softaddicts.ca> <5050224.116.1337281337094.JavaMail.geo-discussion-forums@vbbgl6>
 <1337282223.478043@softaddicts.ca>
 <26104012.3008.1337284114462.JavaMail.geo-discussion-forums@vbbhi10>
Subject: Re: does delay in calling clojure from java happen only once ?
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2996_12259643.1337284380645"

------=_Part_2996_12259643.1337284380645
Content-Type: multipart/alternative; 
	boundary="----=_Part_2997_23618021.1337284380645"

------=_Part_2997_23618021.1337284380645
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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. 

------=_Part_2997_23618021.1337284380645
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

The following makes it clearer:<br><br><blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div>package e;</div><div><br></div><div>import p.x;</div><div><br></div><div>public final class E {</div><div>&nbsp; &nbsp;public static void main(String[] args) {</div></blockquote><div>&nbsp; &nbsp; &nbsp; &nbsp;System.out.println("before");&nbsp;</div><blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div>&nbsp; &nbsp; for (int i = 0; i &lt; 100; ++i) {</div><div>&nbsp; &nbsp; &nbsp; System.out.println(x.f());</div><div>&nbsp; &nbsp; }</div><div>}</div><div><br></div></blockquote><div><br></div><div>Now: After launching, the string `before' gets printed (JVM up),</div><div>and *then* there is delay, before the first `hello, world'.</div><div><br></div><div>Jetzt aber.&nbsp;</div>
------=_Part_2997_23618021.1337284380645--

------=_Part_2996_12259643.1337284380645--