> Out of curiosity, how long does that function take to execute in Java?
The java version is much faster even with much more work to do, which put me perplex. I didn't check how much it takes, must be about 100ms. Thx for the tips, though that doesn't really improve anything. My guess is that it has something to do recursion. I set *warn-on-reflection* but doesn't give me any warning. Is there another way to do iterations in clojure? Would trying to compile the code do any good? --~--~---------~--~----~------------~-------~--~----~ 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---