Shawn H Corey wrote:
Dr.Ruud wrote:

  push @list, unpack "x${_}a$size", $word for 0 .. $max;

Funnily enough, that is somehow&what faster than

  push @list, map unpack( "x${_}a$size", $word ), 0 .. $max;

You don't need the push:

  my @list = map unpack( "x${_}a$size", $word ), 0 .. $max;

Yes, been there, and was also slower.
:)

--
Ruud

--
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