ErrorStack
| From: | Lukas Smith | Date: | Wed, 21 Jul 2004 15:16:39 +0000 |
| Subject: | ErrorStack | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-32209@lists.php.net to get a copy of this message | ||
Hi,
I am looking at the ErrorStack code in detail for the first time.
First thing CS police :-)
You have a few tabs inside the code.
Now for the important bit.
staticHasErrors() goes through all the registered objects. Wouldnt it be possible to "denormalize" the fact that one of the registered objects has errors when an error is pushed on the stack in order to prevent having to go through all the objects?
regards,
Lukas Smith
smith@backendmedia.com
_______________________________
BackendMedia
www.backendmedia.com
berlin@backendmedia.com
Linn Zwoch Smith GbR
Pariser Str. 44
D-10707 Berlin
Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07