Looking Into Data Structures in Swift

I've written up a couple pieces surrounding performance and usefulness of various collection data structures in Swift.

The first is a tutorial at RayWenderlich.com going into detail about how each type of collection data structure is used, and some light performance testing results.

Then, on my own personal blog, I take a considerably deeper dive into the wide world of charts to examine the performance degradation both as you increase the number of items in a data structure and you take advantage of the LLDB compiler's optimization.

The bottom line is that Swift's native data structure creation performance is pretty crappy compared to Foundation structures, but its performance in lookup is outstanding.