phl on 8 Dec 2003 12:30:38 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: perl -wc


>         time perl -nle 'for (1..1030) { system("true") }'

That should have been

>         time perl -le 'for (1..1030) { system("true") }'

otherwise it takes an awfully long time to finish.

Anyway, on my very slow system, this runs in less than ten seconds, so
I'll stand by my analysis that saving fork and exec time is not worth
any effort.

-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**


  • References: