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

Reply via email to