You'll have to give us more to work with. "StripLTSpace" isn't part of the perl core that I'm aware of, so, please tell us what it contains.
Also, please show how it is the bottleneck in your program - if you're not calling it very much, then speeding it up won't make much of a difference. If it's coupled with I/O of some sort (e.g., reading from a website or even a local hard disk), the overhead of stripping the string is going to be completely dwarfed by the overhead of reading the file anyway.
In reply to Re: performance enhancement
by Tanktalus
in thread performance enhancement
by alandev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |