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

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave Evans
Data:  
A: exim-users
Assumpte: 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