in reply to Efficient walk/iterate along a string
On the other hand, you might even want tofor ( my $i=0; $i <= $max; $i++ ) { }
erm correction, I mean do the substring extraction from C not the processing you do with it. Although the perl loop will indeed consume less resources if C-style instead of forcing a huge list to be constructed.
One world, one people
|
|---|