Explicitly declaring the final classes and making sure that the private material is annotated as such an increase or decrease in compilation time? I understand how this affects runtime by reducing dynamic dispatch.
Anecdotally, I tried this on a medium-sized project (and turned on the default Xcode values ββfor printing compile time), and compilation time surprisingly increased (by 8 seconds). Isn't it easier to understand how all the code comes along with hints that eliminate subclasses?
source share