Swift by Sundell cover image

80: “Lists and loops”, with special guest Nick Lockwood

Swift by Sundell

NOTE

How to optimize your Swift code for performance

Creating a tree data structure for better performance turned out to be slow due to too many memory allocations. After profiling, a class-based system was found to be more performant. Lesson learned: custom data structures may not have predictable performance.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner