Re: profiling followup on addition of streams to include_path - it's *faster*
| From: | Gregory Beaver | Date: | Sat, 08 Mar 2008 16:27:54 +0000 |
| Subject: | Re: profiling followup on addition of streams to include_path - it's *faster* | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36062@lists.php.net to get a copy of this message | ||
Alexey Zakhlestin wrote:
> what about including(_once) by absolute path?
>
Hi,
There is no difference from the existing code for include_once, the
first line of php_resolve_path has a check for IS_ABSOLUTE_PATH, all of
the code I wrote follows this line. Calls to include (no _once) would
add 1 function call to php_resolve_path, an insignificant difference.
Greg