Revert "Use associated objects to attach contiguous array buffers to lazy one…"

This reverts commit 7c011813f2.
This commit is contained in:
Mishal Shah
2024-07-21 23:34:57 -07:00
committed by GitHub
parent 7cb1868419
commit 48d5aca28d
7 changed files with 4 additions and 139 deletions

View File

@@ -51,16 +51,12 @@ internal struct _CocoaArrayWrapper: RandomAccessCollection {
@usableFromInline
internal var endIndex: Int {
@_effects(releasenone) get {
core.count
}
return core.count
}
@usableFromInline
internal subscript(i: Int) -> AnyObject {
@_effects(releasenone) get {
core.objectAt(i)
}
return core.objectAt(i)
}
@usableFromInline