Re: [exim] ${perl or ${run ?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dave Evans
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] ${perl or ${run ?
On Mon, May 19, 2008 at 05:36:41PM +0300, Lena@??? wrote:
> How do you think, what is more expensive: one ${perl call
> or three ${run calls (find -exec mv, find -delete, touch)?


More expensive it terms of what?

For CPU and elapsed run-time, ${run is almost certainly more expensive (three
forks, three "exec"s, plus the work to actually manipulate the files).
However, ${perl will be more expensive in terms of persistent memory usage.

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey