Re: Is there a big speed difference...
| From: | Chris Shiflett | Date: | Thu, 09 Jun 2005 18:32:15 +0000 |
| Subject: | Re: Is there a big speed difference... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216754@lists.php.net to get a copy of this message | ||
bruce wrote:
in all honesty, it would really depend on how good the compiler/optimizer is.No, it doesn't. Path resolution must still be performed, and this is going to result in at least one stat() and one realpath() call. These are expensive. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/