Re: Compiling PHP with -O3
| From: | Sascha Schumann | Date: | Tue, 12 Dec 2000 23:59:02 +0000 |
| Subject: | Re: Compiling PHP with -O3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41098@lists.php.net to get a copy of this message | ||
> * If not, why not?
> * If so, can this be made into a "configure" option for PHP in the future
> for those people with fast computers who want that little extra pop?
Hu? Just pass other CFLAGS to configure.
-O3 in GCC enables some optimizations which will increase
the size of the resulting code. This might even slow down
PHP, as often used code might become too large to stay in the
CPU's cache line, causing fetches from slower lines.
- Sascha