Re: I can't believe it...
| From: | Conor Kerr | Date: | Fri, 23 Nov 2001 10:13:41 +0000 |
| Subject: | Re: I can't believe it... | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-530@lists.php.net to get a copy of this message | ||
Hi Jason,
> Another thing that I would like to point out is that with PEAR, speed is an
> important thing. Just by using PEAR::DB, you end up include()-ing ~70 kb of
> files. Using more classes means more include()-ing. That can become hefty,
> if your site or application that uses PEAR classes has a lot of traffic. I
> myself am a proponent of tabs, for this reason -- it is less code to parse.
> If you use 8 spaces instead of one tab, it is seven more characters to
> include(), and also seven more characters for the PHP parser to parse.
> Hence, slower code. Besides the fact that editing code written with tabs is
> also easier and a faster development process.
Although I wouldn't say the speed is all that signficant, not with the
speeds of the computers we are using today I do agree with both your
points, it can be proven consistently that tabs increase the parse speed
(very fractionally) and the speed of the development process (much more
significantly). As I said in my other email though I agree with Karsten
that this is no longer the place for this discussion, I have made my
points and they can be accepted or not. :)
All the best...
Conor