Re: New function proposal: spl_class_vars / params / contents
| From: | Sebastian Bergmann | Date: | Wed, 21 Jan 2009 14:26:35 +0000 |
| Subject: | Re: New function proposal: spl_class_vars / params / contents | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42746@lists.php.net to get a copy of this message | ||
Christian Schneider schrieb:
> Yes, please. Keep clutter out of the engine especially for stuff which
> should not be used often. If you are relying on Reflection to be fast
> for you everyday code then you're IMHO doing something weird and it is
> ok that you have to write your own caching for it (-:C
I agree that code that uses the Reflection API has no place in a
production environment (for performance reasons, for instance).
Development tools such as PHPUnit, however, rely on the Reflection API.
I am pretty sure that performance improvements made to reflection would
reduce the time needed to run test suites.
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69