Hi Lester: On 13 Jan 2012, at 11:51, Lester Caine wrote:
> If developments like this slow down the general performance of PHP There shouldn't be any significant performance impact of the traits addition to the engine. Traits only cost you if you use them, and their cost is restricted to compilation time. With an adapted opcode cache, and with Dmitry's optimization even that cost should be gone. There is some general performance impact, and that comes from additional fields in the class struct. Thus, every class takes slightly more memory. Beside that, I do not recall performance relevant changes from the top of my head. Best regards Stefan -- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php