caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* command line invocation performances
@ 2006-03-30  1:54 jean-david hsu
  2006-03-30  2:42 ` [Caml-list] " Eric Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: jean-david hsu @ 2006-03-30  1:54 UTC (permalink / raw)
  To: caml-list

Hi,
Is there significant performance drawback when using Sys.command to call 
an executable compiled from ocaml code compared to calling the same code 
from a .cmo ?

JD

	

	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


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

* Re: [Caml-list] command line invocation performances
  2006-03-30  1:54 command line invocation performances jean-david hsu
@ 2006-03-30  2:42 ` Eric Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Cooper @ 2006-03-30  2:42 UTC (permalink / raw)
  To: caml-list

On Wed, Mar 29, 2006 at 05:54:47PM -0800, jean-david hsu wrote:
> Is there significant performance drawback when using Sys.command to call 
> an executable compiled from ocaml code compared to calling the same code 
> from a .cmo ?

I haven't measured it, but I'd expect it to be insignificant compared
to the cost of the fork, exec of sh, sh command-line parsing, and
subsequent exec of your actual command.

-- 
Eric Cooper             e c c @ c m u . e d u


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

end of thread, other threads:[~2006-03-30  2:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30  1:54 command line invocation performances jean-david hsu
2006-03-30  2:42 ` [Caml-list] " Eric Cooper

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