On Dec 4, 7:09 pm, "Christian Vest Hansen" <[EMAIL PROTECTED]>
wrote:
> Ah, disregard that. I found the rules:
> http://shootout.alioth.debian.org/u32q/benchmark.php?test=binarytrees&lang=all#about

Yeah -- " this is an adaptation of a benchmark for testing GC so we
are interested in the whole tree being allocated before any nodes are
GC'd - which probably excludes lazy evaluation."

So this is testing the compiler and garbage collector more than the
language.  Given that Clojure's immutable data structures are much
more complex than the simple classes in the Java example, I don't
think it will ever be possible to write a competitive implementation
in pure Clojure.  However, the advantage of having Java as a host
language is that you can use it for low-level operations like this.

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to