Just-in-Time Predereferencing Patch

2001-12-11 Thread Gregor N. Purdy
\_/ [[EMAIL PROTECTED]]$ ping osama.taliban.af PING osama.taliban.af (68.69.65.68) from 20.1.9.11 : 56(84) bytes of data. From 85.83.77.67: Time to live exceeded Welcome to the Just-in-Time Predereferencing Patch! This patch implements

Re: Just-in-Time Predereferencing Patch

2001-12-11 Thread Simon Cozens
On Tue, Dec 11, 2001 at 10:09:07AM -0500, Gregor N. Purdy wrote: -runops_generic(core, interpreter, pc); +if ((interpreter-flags PARROT_PREDEREF_FLAG) != 0) { + size_t offset = pc - (opcode_t *)interpreter-code-byte_code; + + if (!interpreter-prederef_code)

Re: Just-in-Time Predereferencing Patch

2001-12-11 Thread Gregor N. Purdy
Simon -- I haven't tried this, so feel free to shoot me down, but is your 22% speed-up based on an unpatched Parrot, or a patched Parrot without the -P flag? I'm trying to work out whether or not this patch actually slows down the general case, which wouldn't be pleasant. Based on patched