Re: Reducing the number of system calls for includes

From: Date: Sat, 25 Jan 2003 00:31:22 +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-93648@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. There is no way I can think of to cache these results because they often depend on include_path and cwd which might change. Yes, we could try and think of all the things which could effect it and use those as part of a hash key but frankly, smart OS's like Linux don't take too long and the file system cache usually works pretty well. Andi

« previous php.dev (#93648) next »