Re: extends PEAR

From: Date: Sat, 16 Oct 2004 15:18:36 +0000
Subject: Re: extends PEAR
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33895@lists.php.net to get a copy of this message
Greg Beaver wrote:
Not necessarily. The act of registering the shutdown function adds a significant overhead in my profiling tests. If you lazy-register the shutdown function (only when a transaction is initiated), then you could save a bundle of time for the more common cases.
Thats an interesting point. However I could also take advantage of this by only calling the PEAR constructor during the first transaction. So this is not a point relevant to the original question though. regards, Lukas

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