[SR-7594] [String] Restore invariant that string storage is not small #50136
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: 0ef688faa7a779fa58601eedf10ff9a7
Issue Description:
In #16320 we had to drop the invariant that we never allocate storage for small strings. We can restore that if all mutating operations (e.g. append) properly detect small-string opportunities involving small lazily-bridged Cocoa strings.
The text was updated successfully, but these errors were encountered: