On Friday 06 November 2009 15:38:27 Jan Kybic wrote: > >I notice that in ATS you have to give the type of the array explicitly > > fn bubble_sort (a : array0 double ) : void = > > > so you should also do so in the OCaml code, using > > You are right, I am sorry for this omission. Having done that, the > ration between Ocaml and ATS times drops to 3:1 (Ocaml being slower).
On x86, I get: ATS: 0.189s HLVM: 0.486s OCaml: 0.552s On x64, I get: OCaml: 0.299s -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs