Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
From: Andrei Zmievski Date: Mon, 06 Aug 2001 15:34:34 +0000 Subject: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c References: 1 2 3 4 5 6 7 8 9 10 Groups: php.dev Request: Send a blank email to php-dev+get-62280@lists.php.net to get a copy of this message
On Mon, 06 Aug 2001, Zeev Suraski wrote: > Drawbacks: > - It's slow. We encourage putting expensive operations into the > module_init, using dl() means they end up being done multiple times. > > - Under Apache, it's even worse - since in addition to slowliness, it also > ends up consuming significantly more memory, since any memory the extension > allocates in module_init (e.g., the function entries it registers) cannot > be shared between the processes. This doesn't apply under the standalone version, which is what I'm mainly worried about. > - It prevents the engine from optimizing function calls at compile time, by > looking at what kind of arguments these functions expect. This is left for > run-time, which results in significantly slower run-time performance. Can you quantify "significantly"? > - Literally, none of the extensions properly cleans up after itself, > leaving PHP in various degrees of instability. This rarely translates to > crashes, because people don't usually have a script in which they dl() and > then use a class, another script in which they use the class without > dl()'ing first, and call the 2nd script right after calling the 1st > one. Still, from a cleanliness perspective and in theory, it's bad. I see. I wasn't aware that the extension was supposed to clean up the classes it registers. I will fix PHP-GTK behavior on this. -Andrei Linux is like living in a teepee. No Windows, no Gates, Apache in house. - Usenet signature
Thread (52 messages)
- Re: cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c/ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Unknown Message
- Re: cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c/ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.cincomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
- Re: Re: cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
| « previous | php.dev (#62280) | next » |
|---|