Re: Variable fetch optimization

From: Date: Mon, 04 Oct 2004 20:08:49 +0000
Subject: Re: Variable fetch optimization
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-13155@lists.php.net to get a copy of this message
At 12:44 PM 10/2/2004 +0200, Thies C. Arntzen wrote:
before: 34.430 after: 20.126 do i need to say more? (if it really works, which i haven't tested yet)
Made another fix (we had to take care of global variables being messed with by extensions).
PS: i really think that the vm should be generated by a script! looking at what makes most of the patch i really think that we're making hacking the engine more complex than needed.
I am not sure. There are advantages and disadvantages to both. pre-processor vs. script Advantage: Only maintain source and not script (which might be icky), no pre-build scripts (which might be a PITA on platforms like Windows), no script portability issues Disadvantages: More magic in the source code itself, might be slightly harder to debug. Frankly, I am not sure what's better. I think it might be a good idea to see what can be done with a script and then compare. Will look into it. Andi

« previous php.internals (#13155) next »