Re: Re: DB Exceptions - Sample Code

From: Date: Fri, 09 Jul 2004 18:51:45 +0000
Subject: Re: Re: DB Exceptions - Sample Code
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31814@lists.php.net to get a copy of this message
On Fri, 09 Jul 2004 13:42:20 -0500, Joshua Eichorn <josh@bluga.net> wrote: > 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 > As long as the classes are small, I have no problem with putting many exceptions in one file. It would just be nice to have them grouped somehow. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.pear.dev (#31814) next »