Optimize rstrip for ascii chars