Re: [PHP4BETA] RFC: Request startup optimization
| From: | Andrei Zmievski | Date: | Fri, 11 Feb 2000 17:30:08 +0000 |
| Subject: | Re: [PHP4BETA] RFC: Request startup optimization | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10118@lists.php.net to get a copy of this message | ||
On Fri, 11 Feb 2000, Sascha Schumann wrote:
> We use a stub function in the function_table which
>
> (a) calls the request_startup_func of the module
> (b) adds the module to the list of lazy_started_modules
> (c) sets all per-module function_table entries to their real
> handler
>
> Step (c) is reversed during module_registry_cleanup(), if the
> specific module was found in lazy_started_modules.
>
> Your comments and benchmark results are welcome.
Looks fine to me.
-Andrei
Give a man a fish; you have fed him for today. Teach a man to fish;
and you can sell him fishing equipment.
-Author unknown