"Just Curious" VM question

Joshua 'Schwa' Gargus schwa at cc.gatech.edu
Mon Sep 15 22:17:07 UTC 2003


Hi,

Can anyone tell me offhand what the overhead for a regular method
invocation vs.  a primitive invocation, assuming that both are already
in the inline cache?  I had in mind a named primitive, but this brings
to mind the question: is there any difference in overhead between a
numbered primitive and a named primitive? (my guess is yes, because
the numbered primitive has a special bytecode to invoke it, right?)

Thanks,
Joshua
 



More information about the Squeak-dev mailing list