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
@@ -872,7 +872,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
872
872
// A buffer of bytes too large to fit in an InlineData, but still small enough to fit a storage pointer + range in two words.
873
873
// Inlinability strategy: everything here should be easily inlinable as large _DataStorage methods should not inline into here.
874
874
@usableFromInline
875
-
@_fixed_layout
875
+
@frozen
876
876
internalstructInlineSlice{
877
877
// ***WARNING***
878
878
// 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
@@ -1090,7 +1090,6 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
1090
1090
// A reference wrapper around a Range<Int> for when the range of a data buffer is too large to whole in a single word.
1091
1091
// Inlinability strategy: everything should be inlinable as trivial.
1092
1092
@usableFromInline
1093
-
@_fixed_layout
1094
1093
internalfinalclassRangeReference{
1095
1094
@usableFromInlinevarrange:Range<Int>
1096
1095
@@ -1118,7 +1117,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
1118
1117
// 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.
1119
1118
// Inlinability strategy: everything here should be easily inlinable as large _DataStorage methods should not inline into here.
1120
1119
@usableFromInline
1121
-
@_fixed_layout
1120
+
@frozen
1122
1121
internalstructLargeSlice{
1123
1122
// ***WARNING***
1124
1123
// 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
@@ -1294,7 +1293,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
1294
1293
// The actual storage for Data's various representations.
1295
1294
// 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