[SR-2081] String views should have ASCII optimizations #44689
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 50c1ffaa7b1cc22ddafb68fe29aa720c
relates to:
Issue Description:
String.UTF8View
andString.UnicodeScalarView
should optimize theircount
properties andIndex
manipulations to be O(1) if the_StringCore
contains ASCII.String.CharacterView
can't be optimized because"\r\n"
is a single grapheme cluster, and I thinkString.UTF16View
already has relevant optimizations.The text was updated successfully, but these errors were encountered: