in reply to Premature and micro optimization...
Not only are you micro-optimizing, but you're looking, IMO, at the wrong spot. Inlining the code, thus not calling a sub, might produce a lot more savings in execution time, than skipping tr.
And even then, you should consider the bigger picture: how much of your total execution time is spent in thi sub? Not much, that's my guess.
In Section
Seekers of Perl Wisdom