Re: Re: DB Exceptions - Sample Code
| From: | Joshua Eichorn | Date: | Fri, 09 Jul 2004 18:42:20 +0000 |
| Subject: | Re: Re: DB Exceptions - Sample Code | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31813@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
<snip>
Speedwise, at present, I doubt there is any difference in preformance between defining a number of classes as opposed to the same number of defines. (it may be marginally slower if someone has fixed the define slowness). But Used well, it's probably going to be a huge improvement.Of course this also implies that will be getting rid of the one class per file rule for exceptions, reading a couple hundred little files would be really slow. -josh