At 05:35 AM 11/7/2001 -0600, Dave Goehrig wrote: >[snip inlining PMC vtable] > >On Wed, Nov 07, 2001 at 09:49:04AM -0500, Dan Sugalski wrote: > > We can't do that. PMCs, even statically typed ones, can change their > > vtables as they see fit. > >That is true, but it does not negate the option of inlining, it simply >increases the overhead required for inlining.
No, you misunderstand. I don't mean "alter the functions in the vtable for the class", I mean "Change which table of functions is in effect for a variable at this point in time". This: my $foo; $foo = 12; print $foo; $foo /= 24; print $foo; may well have the vtable pointer attached to the PMC for $foo change with every line of code. Probably will, honestly. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk