Use the whitespace flag in each glyph instead of going to the string for
ee7f2de
whitespace stripping. `str::slice_chars` was O(n) and #2 in the profile.