On Aug 10, 11:15 am, Christophe Grand <christo...@cgrand.net> wrote: > Hi Andy, > > On Thu, Aug 6, 2009 at 7:40 PM, Andy Fingerhut < > > > > andy_finger...@alum.wustl.edu> wrote: > > Thank you, Christophe! I've been wanting to try those out. > > > I made changes to 3 lines of my Clojure program for the k-nucleotide > > benchmark, which spends most of its time in a function tally-dna-subs- > > with-len that creates a hash map counting the number of times that > > each of a bunch of length k strings occurs in a long string. Source > > here, if you're curious: > > >http://github.com/jafingerhut/clojure-benchmarks/blob/38e1f592ca3befe... > > > It went from about 19 minutes down to about 12 minutes. Excellent > > improvement for a small change to the code. That brings it down to > > about 7.7 times the run time of the Java version from the language > > shootout web site. > > Could you try my "leafless" > branch;http://github.com/cgrand/clojure/tree/leafless? > > Thanks, > > Christophe
And Christophe's latest improvements to transient support for maps improves the running time of my k-nucleotide benchmark program from about 12 minutes to about 9.5 minutes. Very nice stuff. It isn't in Rich's clojure repository yet, but you can get the changes from Christophe's github repo if you want to try it out. Thanks, Andy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---