Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 6:46 PM +0100 3/17/04, Leopold Toetsch wrote:
>>Or: after the 1st delegate lookup create a JITed stub > Which is swell, except for that pesky can't-guarantee-a-JIT thing... :) I've running that now for the C<__init> call. In the absence of C<__init> the vtable function is replaced by C<ret>. When C<__init> is present a JITed function stub gets called that calls the PASM w/o method lookup. Speedup for missing C<__init> is 100%[1], with C<__init> around 10% [2] It doesn't work for superclasses' C<__init> yet though. Is it more "swell" or "pesky"? [1] new Px, Iclass in a loop [2] oo2.pasm bench leo