When we started reading Károly’s book we were hooked immediately. We asked him to team up, and are very happy to share the result with you.
In this book, we show how to write very efficient Swift collection code. Throughout the book, we benchmark everything — with some surprising results. We implement custom data structures with value semantics and copy-on-write behavior such as sorted arrays, binary trees, red-black trees, and B-trees.
Even if you never implement your own collections, this book helps you reason about the performance of Swift code.
The eBook is available immediately in PDF, ePub, and playground format, and it’s 25% off for launch.
Have a great WWDC week!
Chris, Florian, and Károly