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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Dave Evans
日付:  
To: exim-users
題目: 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