There is currently a minor optimization in split when assigning to a global array. You might give that a try:
untested, untimed.local @data; foreach my $line (@lines) { @data = split /\s+/, $line; $time = shift @data; foreach my $datum (@data) { } }
In reply to Re: Speed of Split
by ysth
in thread Speed of Split
by Lexicon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |