Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
From: Zeev Suraski Date: Mon, 06 Aug 2001 16:34:46 +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 11 Groups: php.dev Request: Send a blank email to php-dev+get-62301@lists.php.net to get a copy of this message
At 19:29 06/08/2001, Andrei Zmievski wrote:On Mon, 06 Aug 2001, Zeev Suraski wrote: By the way, I can't really quantify significantly, as it depends on what kind of minit you have. For a module such as the COM module, it can double the amount of time it takes the script to run (if you load typelibs). For some other modules, it can be almost anything, if your minit is mostly empty. As a general rule, it's a bad thing, since it repeats things which don't have to be repeated. I thought you meant "significantly" worse run-time perfomance because the engine can't optimize for function arguments, not because of what kind of MINIT an extension has. We're still talking about standalone PHP binary here.Ah. Well, YMMV. If you have repeated calls to functions (not class methods, these are not optimized), it can be quite significant - you have an extra opcode that includes some stack manipulation, string duplication and strtolower of the function name, and slower pass_param opcodes. I never actually benchmarked it, but it can be quite significant. Zeev
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: 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: 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 (#62301) | next » |
|---|