On May 20, 2012, at 10:07 PM, David Christensen wrote:

> I've updated function_arguments.pl with Benchmark, below. f_direct() is the 
> fastest, f_shift() is in the middle (12% slower), and f_assign() is the 
> slowest (37%).

David,

        Are you saying that it would be faster to do:

my $this_date = shift;
my $output = shift;

        as opposed to:

my ($this_date, $output) = @_;

        or am I not reading your assessment correctly?

Marc
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to