For list reduction it is said to remove every third solder but just with 1 step they remove 1 soldier. There is something wrong Scully.
On Aug 18, 3:50 pm, David Nolen <dnolen.li...@gmail.com> wrote: > The Clojure code posted there is pretty awful and shows a gross, gross > misunderstanding of Clojure data types. I submitted one improved version > already, but didn't spend the time to make it really, really fast. > > For this particular kind of pointless benchmark it's not hard to get > identical Java perf. If you want to see how I suggest you look at the Alioth > benchmarks where the Clojure code shows a much better understanding of the > language and the fast paths and where the microbenchmarks are quite so > micro. > > David > > > > > > > > On Thu, Aug 18, 2011 at 3:40 AM, Roberto Mannai <roberm...@gmail.com> wrote: > > Hello, > > I recently stumbled upon this page: > >http://java.dzone.com/articles/contrasting-performance > > They are comparing several languages (Java, Scala, Python, Erlang, > > Clojure, Ruby, Groovy, Javascript), and Clojure rated very badly: > > > Object Oriented List Reduction > > Element Recursion > > Java 1.6 0.637 1.435 > > 2.816 > > Clojure 1.2.1 - 25.966 > > 28.753 > > > Maybe the clojure's scripts were not very idiomatic? If some guru > > wants to check them, here's the source code: > > - > >https://github.com/dnene/josephus/blob/master/element-recursion/josep... > > - > >https://github.com/dnene/josephus/blob/master/list-reduction/josephus... > > > All the best, > > Roberto > > > -- > > 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 -- 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