On Fri, Jan 28, 2011 at 2:36 PM, Robert McIntyre <r...@mit.edu> wrote:

> David, thanks for your suggestions.
>
> I copied your code and tested it out, but on my machine it takes 230
> milliseconds while the java version takes about 3.
>
> If it's not too much trouble, how long does the java implementation
> take on your machine?
>
> sincerely,
> --Robert McIntyre


The Java version takes about 0.65ms for me. If I switch the Java loop
operations to be long arithmetic, the Java version takes 1.1ms-1.2ms. The
Clojure version under 1.3.0 takes 8ms.

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

Reply via email to