[SR-6824] [StringGuts] Sort regressions. #49373
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: ab1561006c4a2df1963e1e5fef832014
Issue Description:
Regression from #14046
Intro-sort has many levels of recursion, and we incur excess ARC traffic for each level. We really, really want more control over how sort operates on String rather than just calling out to ‘<‘. For example, the introspection need only happen once, and from then on it can all be on UnsafeString.
SortStringsUnicode
WordCountHistogramUTF16
The text was updated successfully, but these errors were encountered: