2008年11月4日星期二

Re: [fw-core] Zend_Loader::isReadable fix

Matthew Weier O'Phinney-3 wrote:
>
> Second, using file_exists + fopen() means multiple stat calls to the
> filesystem, which degrades performance. We can't use file_exists() by
> itself, as it is not include_path aware; fopen() *is*, however.
> Considering the number of reports about performance, adding additional
> stat calls is a no-go.
>

Thanks for the explanation.
Has a change to the php is_readable() already been recommended?
--
View this message in context: http://www.nabble.com/Zend_Loader%3A%3AisReadable-fix-tp20326421p20329395.html
Sent from the Zend Core mailing list archive at Nabble.com.

没有评论: