On Tue, 2009-09-29 at 22:54 -0700, Meikel Brandmeyer wrote: > Hi, > > On Sep 30, 12:19 am, Cliff Wells <cliff.we...@gmail.com> wrote: > > > In short, you've taken something that was originally CPU-bound and made it > > I/O-bound. > > I don't think so. The measured times do not include the println. The > loop with the print will itself run longer, but the average time > printed does not count the print.
Ah, I missed that. Should have read closer. > I would expect something like code > elimination (the computed value is not used) or some other JIT-voodoo > to happen in one case and for some reason not in the other. See Cliff > Click's presentation on busted benchmarks. I don't have the link > handy, but it should be in one of the more recent of the thousand > timing threads. > > Sincerely > Meikel > > > -- http://www.google.com/search?q=vonage+sucks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---