|
|
| XP is just a number | |
| PerlMonks |
Re^3: Speed Improvement (Updated!)by BrowserUk (Patriarch) |
| on Dec 02, 2014 at 14:34 UTC ( [id://1108963]=note: print w/replies, xml ) | Need Help?? |
|
The buk function can (very rarely) produce replacements which are shorter than requested (does not zero-pad). Also, buk's function will favor replacements which start with a non-zero digit (isn't uniform). Good catches both. I believe that this version corrects both problems without unduly impacting its performance:
Examples:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||