Browse thread
AST versus Ocaml
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-11-07 (18:59) |
From: | Jon Harrop <jon@f...> |
Subject: | Re: [Caml-list] Re: ATS versus Ocaml |
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