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 <firstname.lastname@example.org>
Commit-Queue: Jeremy Roman <email@example.com>
1 file changed