Swift by Sundell cover image

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

Swift by Sundell

NOTE

Recursion Is a Great Way to Improve Performance

Recursion is an elegant technique where a function is called on sub views. This leads to a compact implementation. The danger of recursion is hidden complexity and performance issues. Binary space partitions can cause stack overflows and iterative code must be used. However, the stack size can be set to solve this problem by running it in a thread.

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