Thanks. But I don't do any number crunching here - just a huge structure creation in memory. I can't get why removing the 'lazy-seq' wrapper from the second 'concat' argument make things 10x times slower.
On Monday, July 23, 2012 10:40:51 PM UTC+3, Sergey Didenko wrote: > > Hi, > > lazy seqs are slow for number crunching, you can try to remove them. > > Then you can check that you make (set! *warn-on-reflection* true). And > that your code does not have the warnings. > > Then may be use native (Java) data structures or even arrays. > > Then you can change defn for definline for sensitive code. > > Also see the thread "can Clojure 1.3 code always be made as fast as > Java for numeric computations?" > > Sergey > -- 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