Hi,

I agree with you on this point, we should not introduce any new
feature if there is no way to deal with largely used extensions like
apc, xdebug or maybe others. The provided implementation is not
supposed to be final (syntax or internal implementation) and I'm sure
there are many improvements that could be made to make it better and
I'm open to any suggestions. If the implementation and the idea is
considered, I'll be please to work on a patch for APC so that
annotations can be cached and that there is as less performance
decrease as possible (it will at the same time give me the occasion to
look at APC internal). I'll probably need some help but I'm sure this
will not be an issue.

Pierrick

On 9 January 2013 11:35, Rasmus Lerdorf <ras...@lerdorf.com> wrote:
> In this case, attaching annotations/properties to classes will
> definitely affect APC since we cache classes separately and NOP their
> creation out of the op_arrays. So any extra opcodes will have to be
> optimized out and the resulting class created and cached correctly.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to