Re: Performance

From: Date: Sun, 09 Sep 2001 17:38:57 +0000
Subject: Re: Performance
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65595@lists.php.net to get a copy of this message
At 20:35 09-09-01, George Schlossnagle wrote:
This is just mind boggling! Sure, there's roughly twice the work to call a user function wrapper compared to calling the internal. There's also the loss in parsing.
The parsing overhead is amortized over a million executions of the code block.
Again, I believe that's exactly the point Cris was making - running a million executions of a code block is not something which happens in real life. In practice, chances are the speed loss will be negligible in most real world situations. Don't get me wrong - I'm not saying that that's a good reason to slow things down, but we should keep things in proportion. Zeev

« previous php.dev (#65595) next »