On Fri, Dec 24, 2010 at 2:55 AM, Alan Busby <thebu...@thebusby.com> wrote:
> Hi All, > > > On Fri, Dec 24, 2010 at 4:32 PM, Meikel Brandmeyer <m...@kotka.de> wrote: > > Most interesting is also the relation between the different versions on >> the given machine. Just the numbers of one algorithm aren't really >> comparable, I guess. (different machine, different load, different phase of >> moon, who knows...) >> > > Did the below just for my own amusement on a 64bit linux box, and thought > it might be interesting to others. The fastest implementation was using > areduce with 1.3.0-alpha and unchecked ops for 2800ns. Unoptimized C was > doing 700ns though, and with -O2 it was 400ns. Reminds me why JNI can be so > valuable sometimes. > In order to be fair you probably need to remember to switch your C arithmetic operations to 64bit longs. David -- 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