First thing to check is always (set! *warn-on-reflection* true) Then add type hints until the reflection warnings go away. This can make 10-20 times difference in code that calls a lot of Java methods.
-SS On Aug 10, 6:06 pm, Raoul Duke <rao...@gmail.com> wrote: > hi, > > while i realize the real answer is "it depends!", are there any > current rules of thumb based on experience about how to tackle > performance tweaking in Clojure? (e.g. as a small random example, i > think i've heard at times that type notes should speed things up, but > then other times have heard they didn't change things much at all. or > i wonder when/how should transients best be used. etc.) > > thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---