small performance improvement in byte encoding

Ignore-this: 55f9b2b74dfe91799c09ae7ab6352465

darcs-hash:20130331050431-c21fe-8141e4e93147b6e8defe6f8275148351c3336455