Re: Switch Table Extension for PHP
| From: | Marcus Boerger | Date: | Thu, 31 Jul 2008 22:47:06 +0000 |
| Subject: | Re: Switch Table Extension for PHP | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39519@lists.php.net to get a copy of this message | ||
Hello Stefan,
please discuss with RMs when to merge this in. IMO such a nice locale
improvment can go in anytime during alpha when RMs approve.
marcus
Wednesday, July 30, 2008, 10:18:02 PM, you wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hi,
> for everyone interested in getting the last bit of speed out of his PHP
> I created a small extension that overrides the ZEND_CASE opcode and
> optimizes its execution.
> On the first execution of a switch statement it builds up a jumptable
> for all the cases and later execution of the same switch statement is
> then performed by directly looking up the jump target within the jumptable.
> You can find more information and the download at
> http://www.suspekt.org/switchtable/
> I am very interested how it performs with YOUR switch statements. And I
> am also very interested if its implementation unexpectedly breaks YOUR
> switch statements.
> Greeting,
> Stefan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iEYEARECAAYFAkiQzHoACgkQSuF5XhWr2nh1xwCfbnodynq8pfjuaennWlj+tih6
> PNcAoI8GABX3YwoSMRT/34gLxkdGy1dM
> =ULxN
> -----END PGP SIGNATURE-----
Best regards,
Marcus