File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -268,14 +268,12 @@ internal var _hashContainerDefaultMaxLoadFactorInverse: Double {
268
268
internal func _stdlib_NSObject_isEqual(_ lhs: AnyObject, _ rhs: AnyObject) -> Bool
269
269
#endif
270
270
271
- //===--- Hacks and workarounds --------------------------------------------===//
272
-
273
- // FIXME(ABI)#158 (Performance)
274
- // There used to be a now-fixed optimizer bug that prevented using
275
- // UnsafePointer<Unmanaged<AnyObject>> in Dictionary implementation.
276
- // rdar://problem/16861508
277
- /// Like `UnsafeMutablePointer<Unmanaged<AnyObject>>`, or `id
278
- /// __unsafe_unretained *` in Objective-C ARC.
271
+
272
+ /// A temporary view of an array of AnyObject as an array of Unmanaged<AnyObject>
273
+ /// for fast iteration and transformation of the elements.
274
+ ///
275
+ /// Accesses the underlying raw memory as Unmanaged<AnyObject> using untyped
276
+ /// memory accesses. The memory remains bound to managed AnyObjects.
279
277
internal struct _UnmanagedAnyObjectArray {
280
278
/// Underlying pointer.
281
279
internal var value: UnsafeMutableRawPointer
You can’t perform that action at this time.
0 commit comments