Commits
Dave Abrahams committed 3de27d21798
[stdlib] Array: add bridgeCache/fix refCounting Array's getObjects:range: needs to fill the supplied buffer without incrementing the reference count. For that reason, and to fulfill lifetime expectations for Array elements that are computed dynamically (e.g. from value types that are BridgedToObjectiveC), we maintain a cache of converted objects associated with each Array. Swift SVN r16105