Hi, 2011/6/6 Dmitry Stogov <dmi...@zend.com>
> Hi Felipe, > > I like the idea. It makes indirect method calls less expensive. > > I would add a hint to specializer, to eliminate small overhead for regular > function calls. > > } else if (OP1_TYPE != IS_CONST && > EXPECTED(Z_TYPE_P(function_name) == IS_ARRAY) && > zend_hash_num_elements(Z_ARRVAL_P(function_name)) == 2) { > > Thanks. Dmitry. Dmitry: Oh, right. I added the check for OP2_TYPE != IS_CONST, thanks for reviewing. Christopher Jones: Alright, I'll write a page in the wiki for the record. All: Committed in 5.4 and trunk now. Thanks for the comments, folks! :) -- Regards, Felipe Pena