English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
ocamlopt debugging options
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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.