Chaim Frenkel <[EMAIL PROTECTED]> writes: >>>>>> "NI" == Nick Ing-Simmons <[EMAIL PROTECTED]> writes: > >>> Well, we could preload the vtbl with a _replace_me_ stub to do the >>> cacheing. > >NI> Just leave vtable blank and fill it when we need it - that part of perl's >NI> mechanism is not the problem. > >Aha, we're looking at to differnt dispatch methods. Whoops - I missed change of topic. > >I wanted the op to simply call through the vtbl. No pre-checking. Why >waste the code, for the usual case. So an active entry would handle >the wasted if. > >(Aren't you the one that claimed that a call was faster than an if?) Issue is othogonal - my "leave it blank" could just as easily be your _replace_me_ stub. -- Nick Ing-Simmons
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Graham Barr
- Re: Method call optimization. Dan Sugalski
- Re: Method call optimization. Graham Barr
- Re: Method call optimization. Dan Sugalski
- Re: Method call optimization. Graham Barr
- Re: Method call optimization. Dan Sugalski
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Nick Ing-Simmons
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Nick Ing-Simmons
- Re: Method call optimization. Dan Sugalski
- selectively invalidating cached inherited methods (as Re:... David L. Nicol
- Re: selectively invalidating cached inherited methods (as... Dan Sugalski
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Nick Ing-Simmons
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Nick Ing-Simmons
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Graham Barr