add character classification table

because table lookups are faster than cmp-branch