Hi all. Recently started to optimize two models written in clojure, and I could use some tips from you guys.
I first enabled the set reflection-warning thing, and removed reflections in the inner loop of my program. That already helped a lot, speeding up the whole thing to about 40% of its original running time. Are there any other flags that I should be aware of that give such an easy way to improve program speed? Perhaps something that indicates shortlived objects? Currently, if I look at hprof / PerfAnal.jar I see that most of my time (45%) is spend in the find function of the automatonmatcher of the regular expression engine that I use (brics), with the next entry being java deref (5%). I guess that means that I am not doing anything silly anymore in my code, and I should just look on whether it makes sense to cache some of those regex results, right? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---