Re: Concerning Thies's and Sterling's "Hack"
| From: | Zeev Suraski | Date: | Tue, 26 Aug 2003 09:24:37 +0000 |
| Subject: | Re: Concerning Thies's and Sterling's "Hack" | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4197@lists.php.net to get a copy of this message | ||
At 10:48 26/08/2003, Sterling Hughes wrote:
On Mon, 25 Aug 2003, Rasmus Lerdorf wrote:Guys, We're not going to have major changes in the 4.x branch. We'll look into each of the changes and decide whether to incorporate it into ZE2. Some of them are good (like the cached zval allocation and saved calls to copy_ctor/dtor) and some of them are not so good (like the lookup caching for variables), and some don't apply to ZE2 (like the computed gotos). Sebastian - I think the fact that Sterling and Thies didn't raise it here was intentional (could be wrong, though). ZeevIt would also have to be a new 4.4 branch as it breaks binary compatibility for extensions.It is far from being usable in mainstream as it relies on various GCC features in many places. Of course, using portable C is a requirement for being accepted into the repository. I suppose the patch authors are aware of that which is why they have not come forward yet.Sascha,Take a look at the code, the C is fully portable. Computed gotos are completely #ifdef'd out, meaning that if you don't compile with gcc we could built it with a switch() loop.