in reply to
The problem with premature optimization...
in thread Premature and micro optimization...
Yes - you're right. I agree, but sometimes I get curious. In fact, my first suggestion was that it would likely make such little difference that no harm would be done by making the change live and then dealing with "performance issues" later, knowing full well that this wouldn't become an issue.
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; =
qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)