Re: Obsoleting PEAR.php
| From: | Martin Jansen | Date: | Fri, 16 May 2003 17:13:32 +0000 |
| Subject: | Re: Obsoleting PEAR.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16370@lists.php.net to get a copy of this message | ||
On Thu May 15, 2003 at 06:1743PM -0400, Sterling Hughes wrote:
> One of my major problems with PEAR is the underlying framework. Nearly
> every class in PEAR seems to extend from the PEAR base class, when its
> really not required for most of them [1]. The end result of this is
> *slower* code that is a part of the framework. I suggest that for now
> we start removing the usage of the PEAR class from the large majority of
> code in PEAR. This should speed up the code considerably (no extra
> overhead).
Agreed. A quick grep through /pear revealed that 80 classes are
extending from PEAR and my wild guess is that only 30% of them really need
anything that is provided there (like destructors).
--
- Martin Martin Jansen
http://martinjansen.com/