Re: namespace separator and whining

From: Date: Mon, 27 Oct 2008 20:47:23 +0000
Subject: Re: namespace separator and whining
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-41485@lists.php.net to get a copy of this message
Hi!
1) check for namespaced\classname 2) try to autoload namespaced\classname 3) check for internal classname
How would you reorder those?
1) check for namespaced\classname 2) try to autoload namespaced\classname 3) fail
...but didn't you say "one time is enough"? According to your own logic, include is a "performance bomb" as well.
You seem to not understand how bytecode caches work. With bytecode caches, you can have zeto disk accesses per request. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#41485) next »