|
Re: beginning plannings for PEAR for PHP6: msg#00024php.pear.core
Rasmus Lerdorf wrote: Gregory Beaver wrote: The problem is that right now we need to think about users with and without an opcode cache. If APC is bundled with PHP6, which seems likely at this point, this situation will slant towards opcode cache enabled. However, people running on hosters may till find that their available memory is too limited (or that APC is even disabled because of this). Especially with many applications going AJAX, meaning short requests that do much less and therefore touch a lot less code, it seems to make no sense to load all dependencies first. In that way __autoload() is kind of cool. Then again if you have the memory and you have an opcode cache, then you rather not want any conditional code loading at all. It just screws with the opcode cache and it probably does not buy you any performance either. Anyways, unfortunately not even Stig can remember why he wanted to use include path magic over dirname(__FILE__) that I proposed back when we did not have a real standard yet. I guess one of the big advantages of the include path based solution we have right now is that it enables people to easily replace some files in PEAR packages without having to modify the original package at all. However I do not think many people use this. regards, Lukas |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: beginning plannings for PEAR for PHP6: 00024, Gregory Beaver |
|---|---|
| Next by Date: | cvs: pearweb /include pear-database.php: 00024, Arnaud Limbourg |
| Previous by Thread: | Re: beginning plannings for PEAR for PHP6i: 00024, Gregory Beaver |
| Next by Thread: | Re: beginning plannings for PEAR for PHP6: 00024, Gregory Beaver |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |