At 09:49 PM 2/1/2001 +0100, Johan Vromans wrote:
>Dan Sugalski <dan@sidhe.org> writes:
>
> > The module loaded can define the routines as either regular perl
> > subs or opcode functions (the difference is in calling convention
> > mainly) [...]
>
>Difference in calling convention at the user level or just internal?
Internal mainly. There'll be prototype and attribute changes at the perl
level, but they're pretty trivial. (What they'll be is up in the air, but
there'll have to be some) Perl subs get passed in a list of variable size,
while opcode functions will get passed in a known number of parameters,
likely in registers. Or on the stack, depending on the platform.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk
Thread Previous
|
Thread Next