Talk

Swift Structs: Not Always Your Friends

In Russian

I’ll explain what a link map is and how it can help you find the code that contributes the most to your app’s size. I’ll walk through some quirks of the Swift compiler and show cases where even simple structures can generate tens of megabytes of binary code. I’ll also share how we tackled this problem in Alfa-Bank’s iOS app, how many lines of code we had to rewrite, and how many megabytes we managed to save. Spoiler: it was absolutely worth it!

Speakers

Talks