(binding [*print-fn* #(.log js/console)] (time ...)) works in the browser
On Friday, 20 April 2012 11:25:31 UTC+10, puzzler wrote: > > OK, I ran the same test directly in the browser with optimizations. I > wasn't doing it in a REPL, so I couldn't use the time function, but Firefox > appeared to take about 2 seconds, and Chrome was definitely under a > second. So yes, there does seem to be a world of difference from Rhino. > > I'm still seeing extraordinarily slow times on problems where more > laziness is involved. It really seems that Clojurescript is evaluating > more of the lazy structure than it needs to. Any idea why that might be? > > -- 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