You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[5.9] Try using withContiguousStorageIfAvailable in RangeReplaceableCollection.append(contentsOf:) before falling back to a slow element-by-element loop (#66838)
* Try using withContiguousStorageIfAvailable in RangeReplaceableCollection.append(contentsOf:) before falling back to a slow element-by-element loop. Fixes rdar://109059874
(cherry picked from commit 465aa22)
* _onFastPath, in inlineable code, will end up applying to the caller. We don't want that, so omit it
(cherry picked from commit 5efc2da)
* Don't reserveCapacity in append(contentsOf:), it breaks API guarantees of asymptotic complexity
(cherry picked from commit 476c472)
0 commit comments