in reply to Translating non-printable ascii

If you're really concerned about speed, the best thing to do would be to find a handy C programmer and give them your spec and have them write something you can wrap with Inline::C.