Use ASCII case conversion and fewer copies in GetWindowFeaturesFromString.
All valid inputs are ASCII, and ASCII case conversion is currently done on
both the key and value after the Unicode case conversion. While here, use
StringView to just access into the ASCII-lowered buffer without copying out
substrings for each key and value, since they're only read.
Reviewed-by: Hayato Ito <email@example.com>
Commit-Queue: Jeremy Roman <firstname.lastname@example.org>
1 file changed