On Wed, May 18, 2016 at 1:06 PM, Sara Golemon <poll...@php.net> wrote:
> Yes, but that doesn't mean you should micro-optimize around it. Just > write code that's easy to maintain and trust the compiler to do the > best job at making it not-slow. :) > > Do you happen to know whether or not HHVM does a better job in the case of a function being called repeatedly with different implementations of a class/interface? I don't optimised prematurely, but if I've got performance problems today and getting a more sophisticated compiler/runtime isn't an option, and I can't work around it by some other means then I don't really have a choice.