caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* C / OCaml exchange ratio
@ 2008-08-07 17:30 Florent Monnier
  2008-08-08 10:16 ` [Caml-list] " Florent Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Florent Monnier @ 2008-08-07 17:30 UTC (permalink / raw)
  To: caml-list

Hi,
The manual says that the cost of an ocaml function call from C is more 
expensive than calling a C function from OCaml.

What is approximatively the ratio ?

Is it more or less than 2 ?

-- 
thanks
Florent


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] C / OCaml exchange ratio
  2008-08-07 17:30 C / OCaml exchange ratio Florent Monnier
@ 2008-08-08 10:16 ` Florent Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Florent Monnier @ 2008-08-08 10:16 UTC (permalink / raw)
  To: caml-list

> The manual says that the cost of an ocaml function call from C is more
> expensive than calling a C function from OCaml.
>
> What is approximatively the ratio ?
>
> Is it more or less than 2 ?

experimentally, I find a ratio of about 5.5
I didn't think the difference was so much.

-- 
Florent


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-08 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-07 17:30 C / OCaml exchange ratio Florent Monnier
2008-08-08 10:16 ` [Caml-list] " Florent Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).