Browse thread
ocamlopt debugging options
-
Alexey Rodriguez
-
Mark Shinwell
-
Alexey Rodriguez
-
Daniel_Bünzli
- Alexey Rodriguez
- Mark Shinwell
-
Daniel_Bünzli
-
Alexey Rodriguez
-
Mark Shinwell
[
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-06-18 (14:10) |
From: | Alexey Rodriguez <mrchebas@g...> |
Subject: | Re: [Caml-list] ocamlopt debugging options |
2009/6/18 Daniel Bünzli <daniel.buenzli@erratique.ch>: > > If you compile with -S they should not be gone in the generated assembly > file. More explanations here : > > http://ocaml-tutorial.org/performance_and_profiling Thank you! It was my silly mistake after all. I was testing a small program to see whether functions would be inlined. Ocaml did inline them and that is why I did not see them! :) One more question regarding code generation and optimization. Has anyone in this list used monads in production code? The core library from Jane Street uses monads, so I suppose they are used over there. Can people comment on their efficiency (or lack thereof)? The experiments I am doing are to test whether Ocaml can inline most uses of bind. Cheers, Alexey