Version française
Home     About     Download     Resources     Contact us    
Browse thread
command line invocation performances
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Cooper <ecc@c...>
Subject: Re: [Caml-list] command line invocation performances
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