Browse thread
time profiling and nested function inlining
-
Quôc_Peyrot
-
Daniel_Bünzli
- Daniel_Bünzli
-
Quôc_Peyrot
- Jon Harrop
-
Daniel_Bünzli
[
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: | 2006-12-07 (12:17) |
From: | Jon Harrop <jon@f...> |
Subject: | Re: [Caml-list] time profiling and nested function inlining |
On Thursday 07 December 2006 10:43, Quôc Peyrot wrote: > in the former, the compiler doesn't detect the invariant "array.(i)" > and keeps it inside the inner loop. > I tried to pass -ccopt -O3 to ocamlopt but it didn't seem to change > anything. Ocamlopt doesn't do that optimisation and -ccopt won't have any effect unless you're compiling C code. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists