On Wed, 2004-04-28 at 12:06, Dan Sugalski wrote:
I'm not sure of the hit--an MMD version of the perl base scalar PMCs is faster than the non-mmd version in some tests. I fully expect that can't hold, though. And no, there's no way around it--if we do this everyone pays. (OTOH, all perl PMCs are supposed to check anyway, though this is a cost we weren't necessarily paying)
Since we're specifically talking about Perl here (and probably not Perl 5, since its overloading model is baroque and probably has to be managed by the compiler, not Parrot)
Actually perl 5's overloading gets handled this way too. Overloaded operations *can't* be handled by the compiler in dynamic languages, and none of then do so.
, I was under the impression that for types that are non-objecty,
Types that are non-PMC won't check. PMC types will. -- Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk