Do you know where your variables are? | |
PerlMonks |
Re: How much can this text processing be optimized?by Roger (Parson) |
on May 16, 2005 at 13:48 UTC ( [id://457454]=note: print w/replies, xml ) | Need Help?? |
Well, your code could be optimized, but as a pure perl code, it will be very hard to give performance boost of 3 times faster than it was. If it is the execution speed you are looking for, why not try the Inline::C module and write your function in C? It will certainly give you the performance boost you are looking for.
In Section
Seekers of Perl Wisdom
|
|