On Fri, Mar 12, 2004 at 08:12:52PM -0500, Dan Sugalski wrote: : Okay, so I'm fiddling around in the guts of the object system getting : the groundwork laid for some speed increases (I hope--we're just : barely faster than perl 5 when doing the equivalent of perl's tie : with the base object type) and one thing occurred--should we have the : base object system participate in multimethod dispatch? That is, if : someone does an: : : add P1, P2, P3 : : and P2 is a parrot object, should that add vtable method : automatically redispatch to MMD if the vtable method can't be found : in P2's class hierarchy?
Redispatch is what A12 currently calls for, subject to pragmatic warpage. A pragma can request that no MMD redispatch happen in its scope. Or it can request that all method calls be treated as MMD from the getgo. So we need to be able to support all three of those behaviors from the caller end, not just force one behavior from the vtable. Larry