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/38e1f592ca3befe94a0674a5f5a43d952cd369b3/knuc/knucleotide.clj-7.clj
>
> 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

-- 
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.blogspot.com/ (en)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to