DAY #51

Bridging between data structures (set, array, dict) in swift and objc is usually O(1) time space complexity. If elements in these data structures are not classes or objc protocols or bridgeable to a foundation type they will be lazily converted on call, which is O(n). So…. do your research - some stuff is toll free, but some stuff is not.

Originally published 10/06/2021 @ https://pittcsc.org/ Discord

Published here on 09/16/2022. Blog published date reflects the original date of publication.