Re: [RFC] APC/PHP Lazy Loading
| From: | Lukas Kahwe Smith | Date: | Tue, 10 Mar 2009 08:42:09 +0000 |
| Subject: | Re: [RFC] APC/PHP Lazy Loading | ||
| References: | 1 | Groups: | php.internals php.apc.dev |
| Request: | Send a blank email to internals+get-43287@lists.php.net to get a copy of this message | ||
On 22.02.2009, at 01:10, shire wrote:
I've just checked into APC CVS preliminary support for Lazy Loading classes and functions. This means that rather than copying function entries into EG(function_table) and EG(class_table) when an include happen it will mark the functions/classes as available and only actually insert them into the tables when they are called. This is done via hooks added into the various hash table lookups in PHP. I've placed a patch for PHP_5_3 at: http://tekrat.com/downloads/bits/apc_lazy_php53.patchI did not read through the entire thread. As things are close to RC state in 5.3, I would prefer to not do any non bug fixes at this stage. Then again if the benefits are huge and the risk is low it can be considered of course .. regards, Lukas Kahwe Smith mls@pooteeweet.org