Besides which, the extra work is negligible - if you care about that small of an efficiency then Perl is probably the wrong language to use in the first place.
In reply to Re^3: Replace consecutive whitespaces with single whitespace
by tilly
in thread Replace consecutive whitespaces with single whitespace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |