Summary
In this chapter, we covered the importance of choosing the correct data type. We covered the Swift standard library collections with their features and limitations. You learned which collection fits better for which use case. Also, we showed the performance characteristics when working with those collections and performing different operations. Moreover, we gave a tip on how to improve performance and memory allocation for collections.
In the next chapter, we will see how to create an application architecture that contributes to achieving high performance.