Chaim Frenkel wrote: > Have every Package generate a vtbl for each subroutine in the package. > Then when something is blessed into the package ... > I wasn't discussing the core. Rather a possible optimization of > method lookup. > > At any time only for any method name only a single version can be > called (at the invocation point) so why not precompile it. I think we've only talked about internal method dispatch used to implement the core OPs. The dispatch tables won't be user (Perl code) extensible. It should be possible to use the dispatch tables to easily implement overloading because operators should map fairly easily into the table. Anyways, method lookups are already table driven so in theory they should be as fast as the vtables we're talking about for the core. - Ken
- vtables (was Re: Ramblings on "base class" for... Uri Guttman
- Re: vtables (was Re: Ramblings on "base class"... Dan Sugalski
- Re: vtables (was Re: Ramblings on "base class"... Uri Guttman
- Re: vtables (was Re: Ramblings on "base class"... Hildo Biersma
- Re: vtables (was Re: Ramblings on "base class"... Dan Sugalski
- Re: Ramblings on "base class" for SV etc. Chaim Frenkel
- Re: Ramblings on "base class" for SV etc. Nick Ing-Simmons
- Re: Ramblings on "base class" for SV etc. Chaim Frenkel
- Re: Ramblings on "base class" for SV etc. Dan Sugalski
- Re: Ramblings on "base class" for SV etc. Chaim Frenkel
- Re: Ramblings on "base class" for SV etc. Ken Fox
- Re: Ramblings on "base class" for SV etc. Dan Sugalski
- Re: Ramblings on "base class" for SV etc. Bryan C . Warnock
- Re: Ramblings on "base class" for SV etc. Nick Ing-Simmons
- Re: Ramblings on "base class" for SV etc. Bart Lateur
- Hooks for array notation (was Re: Ramblings on "bas... Jeremy Howard
- Re: Hooks for array notation (was Re: Ramblings on "... Dan Sugalski
- Re: Hooks for array notation (was Re: Ramblings on "... Bart Lateur
- Re: Hooks for array notation (was Re: Ramblings on "... Dan Sugalski
- Re: Hooks for array notation (was Re: Ramblings on "... Bart Lateur
- Re: Hooks for array notation (was Re: Ramblings on "... Bart Lateur