Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: performance enhancement

by alandev (Scribe)
on Jul 19, 2006 at 13:56 UTC ( [id://562286] : note . print w/replies, xml ) Need Help??


in reply to Re: performance enhancement
in thread performance enhancement

StripLTSpace function is in String::Strip

Replies are listed 'Best First'.
Re^3: performance enhancement
by gellyfish (Monsignor) on Jul 19, 2006 at 14:30 UTC

    It looks like the guts of String::Strip are written in C, and the algorithm used doesn't look particularly inefficient so I guess you would struggle to get it much quicker.

    /J\