Re: Reducing the number of system calls for includes

From: Date: Sat, 25 Jan 2003 00:42:32 +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-93653@lists.php.net to get a copy of this message
At 04:32 PM 1/24/2003 -0800, Rasmus Lerdorf wrote:
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.
Yeah but on broken systems single stat's also stat each directory (AFAIK). I don't think it's any faster or at least not noticably. Andi

« previous php.dev (#93653) next »