XP is just a number | |
PerlMonks |
Re^4: Performance problems on splitting long stringsby Cristoforo (Curate) |
on Jan 30, 2014 at 20:42 UTC ( [id://1072729]=note: print w/replies, xml ) | Need Help?? |
The $string variable contains '30'. I think you meant
my $string = join '',map { ('a'..'z')[rand 26] }1..30; With this correction, unpack is faster. :-)
In Section
Seekers of Perl Wisdom
|
|