Relative Performance of Existential Any

in your example, you have constrained the existential to AnyObject which should enable it to achieve similar performance to the class inheritance-based approach.

3 Likes