RE: [PHP-DEV] pushing some more optimization patches
| From: | Andi Gutmans | Date: | Fri, 10 Nov 2006 03:33:21 +0000 |
| Subject: | RE: [PHP-DEV] pushing some more optimization patches | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26448@lists.php.net to get a copy of this message | ||
The arginfo patch looks OK to me. Not sure about the visibility patch. I'll
try and look into it tomorrow.
> -----Original Message-----
> From: Nuno Lopes [mailto:nlopess@php.net]
> Sent: Thursday, November 09, 2006 9:09 AM
> To: PHPdev
> Subject: [PHP-DEV] pushing some more optimization patches
>
> Hi,
>
> I would like to push 2 more optimization patches onto the PHP tree:
> * make arginfo const (and save memory):
> http://mega.ist.utl.pt/~ncpl/zend_arginfo_const.txt (for php
> 5.2.1) Trivial patch, which is expecially good for multi-core
> systems sharing the same cache.
>
> * use -fvisibility when using gcc 4:
> http://mega.ist.utl.pt/~ncpl/php_gcc4_visibility.txt (for php
> 5.3/6) this is a trickier patch and needs some tweaking in
> extensions exporting their own API. The little hacks in the
> Apache SAPIs are needed because older apache versions didn't
> know anything about gcc 4.
>
> Any opinions or any volunteer to commit those patches? :)
>
> Thanks,
> Nuno
>
> --
> PHP Internals - PHP Runtime Development Mailing List To
> unsubscribe, visit: http://www.php.net/unsub.php
>