Rhino is slow. If you want to see performance anywhere near the JVM you to have to use a modern JavaScript engine - JavaScriptCore, SpiderMonkey, or Google V8.
David On Thu, Apr 19, 2012 at 7:31 PM, Mark Engelberg <mark.engelb...@gmail.com>wrote: > I've found that by completely exiting and restarting the REPL, it is > working now. Woo hoo! > > Way, way, way slower though. 16 seconds to produce an answer that takes 6 > milliseconds in Java. > > I have a suspicion that part of the time difference may have something to > do with Clojurescript's treatment of laziness. My code heavily relies on > the laziness of Clojure sequences, and if Clojurescript is trying to > evaluate too much, that could explain a lot. > > Are there any laziness gotchas I need to be aware of in Clojurescript? > > -- > 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 > -- 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