2009/6/18 Daniel Bünzli <daniel.buen...@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

_______________________________________________
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

Reply via email to