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
@@ -839,7 +839,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
839
839
// A buffer of bytes too large to fit in an InlineData, but still small enough to fit a storage pointer + range in two words.
840
840
// Inlinability strategy: everything here should be easily inlinable as large _DataStorage methods should not inline into here.
841
841
@usableFromInline
842
-
@_fixed_layout
842
+
@frozen
843
843
internal struct InlineSlice {
844
844
// ***WARNING***
845
845
// These ivars are specifically laid out so that they cause the enum _Representation to be 16 bytes on 64 bit platforms. This means we _MUST_ have the class type thing last
@@ -1085,7 +1085,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
1085
1085
// A buffer of bytes whose range is too large to fit in a signle word. Used alongside a RangeReference to make it fit into _Representation's two-word size.
1086
1086
// Inlinability strategy: everything here should be easily inlinable as large _DataStorage methods should not inline into here.
1087
1087
@usableFromInline
1088
-
@_fixed_layout
1088
+
@frozen
1089
1089
internal struct LargeSlice {
1090
1090
// ***WARNING***
1091
1091
// These ivars are specifically laid out so that they cause the enum _Representation to be 16 bytes on 64 bit platforms. This means we _MUST_ have the class type thing last
@@ -1261,7 +1261,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
1261
1261
// The actual storage for Data's various representations.
1262
1262
// Inlinability strategy: almost everything should be inlinable as forwarding the underlying implementations. (Inlining can also help avoid retain-release traffic around pulling values out of enums.)
0 commit comments