sybperl-l Archive
Up Prev Next
From: kimball at stsci dot edu (Timothy Kimball)
Subject: Re: Speed Question
Date: Mar 13 1998 12:37PM
Philip Mikal wrote:
: I thought I'd break up the usual "won't compile" question with:
:
: Which of the following would be faster:
:
: Evaluation for a pattern match in a 100 element array.
:
: or
:
: 5 calls to the following code block:
The Benchmark module should be able to help you answer this one.
(It comes as standard equipment with Perl 5.)
--
Tim Kimball · Data Systems Division ¦ kimball@stsci.edu · 410-338-4417
Space Telescope Science Institute ¦ http://www.stsci.edu/~kimball/
3700 San Martin Drive ¦ http://archive.stsci.edu/
Baltimore MD 21218 USA ¦ http://faxafloi.stsci.edu:4547/
|