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: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
