efficient handling of individual chars