On Feb 10, 2:47 pm, Isaac Gouy <igo...@yahoo.com> wrote: > On Feb 10, 1:17 am, Bill James <w_a_x_...@yahoo.com> wrote: > > >http://shootout.alioth.debian.org/u32/benchmark.php?test=fasta〈=all > > > The fastest program shown here is in Java and runs in 1.72 seconds. > > However, at the bottom of the page (under "interesting alternative" > > programs) there is a C++ program that runs in 0.25 seconds; it seems > > to work basically the same way that my program does. > > > So this Clojure program will probably be relegated to the bottom of > > the page. > > Should it be relegated to the bottom of the page?
The C++ program was evidently deprecated because it did not go through the process of generating a random character for each character that it output. The author realized that the pseudo-random-number-generator had a cycle-length less than 200_000. Both the C++ program and the Clojure program use a much more efficient algorithm than the other programs. That may violate the rules. -- 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