On 2004-09-26 03:05:18 +0200, Andi Gutmans <[EMAIL PROTECTED]> said:

I'll see which parts of your patch can be adapted for 5.1.x. I think the var lookup is probably the most substantial one but I will probably implement it slightly different. I'll mail internals@ when I have something.

this needs to get fixed in the compiler. (which sterling and i didn't want to touch)


to make things good - we should always fetch the same variable into the same register (in the compiler). that way we could check if the register is already "loaded" and only fetch from the symbol-table if not. unless i'm missing something this should be relativly easy and it would work better (gain us more speed) than the hack sterly and i did.

for real register-reuse we would have to do some basic flow-analysis, which i believe is too much science for PHP...

re,
tc

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to