Re: Reducing the number of system calls for includes
| From: | Andi Gutmans | Date: | Sat, 25 Jan 2003 14:08:03 +0000 |
| Subject: | Re: Reducing the number of system calls for includes | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93677@lists.php.net to get a copy of this message | ||
Hi,
I think the best solution to this problem, without breaking functionality, is to use a cache for realpath() in virtual_file_ex().
This should solve the performance problems and not effect BC at all. As TSRM always passes a full path to the realpath() call there, it should always work.
Andi
P.S.-Theoretically the only time it could cause problems is if someone, while the server is running, changes a symlink in one of the cached paths. This is highly unlikely.