Re: Reducing the number of system calls for includes
| From: | Rasmus Lerdorf | Date: | Sat, 25 Jan 2003 00:32:42 +0000 |
| Subject: | Re: Reducing the number of system calls for includes | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93651@lists.php.net to get a copy of this message | ||
> I can't really think of any way of getting around this. include_once() and
> require_once() are basic language constructs and they require this.
Well, they require us to be able to uniquely identify a file, they do not
necessarily require us to know the canonical filename. This could be done
in a single stat where we grab the device number and inode.
-Rasmus