Re: Benchmark of new VM
| From: | Thies C . Arntzen | Date: | Sun, 26 Sep 2004 13:46:06 +0000 |
| Subject: | Re: Benchmark of new VM | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12997@lists.php.net to get a copy of this message | ||
On 2004-09-26 03:05:18 +0200, Andi Gutmans <andi@zend.com> 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