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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP-DEV] Reducing the number of system calls for inclu... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the number of system calls ... Sascha Schumann
- Re: [PHP-DEV] Reducing the number of system ca... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the number of syste... Sascha Schumann
- Re: [PHP-DEV] Reducing the number of syste... Andi Gutmans
- Re: [PHP-DEV] Reducing the number of s... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing the number... Andi Gutmans
- Re: [PHP-DEV] Reducing the nu... Andi Gutmans
- Re: [PHP-DEV] Reducing the nu... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing th... Andi Gutmans
- Re: [PHP-DEV] Reducing th... Sascha Schumann
- Re: [PHP-DEV] Reducing th... Rasmus Lerdorf
- Re: [PHP-DEV] Reducing th... Miham KEREKES
- Re: [PHP-DEV] Reducing th... Sebastian Bergmann
- Re: [PHP-DEV] Reducing th... Rasmus Lerdorf