David,
Thank you for responding.
__autoload
... which basically only loads classes when they are required.
Yes, this is exactly what I needed. Not only was I already on PHP5, but
fortunately I had also already been building my classes so that it was
one class per file, as __autoload requires.
So this was possibly the easiest and most effective change I've ever
implemented. And the results were impressive. The Zend profiler reported
that I went from 500 to 800 milliseconds per page request down to 40 to
60 milliseconds. Occasional database connections raised the time now and
again, but I think I have a handle on that.
Thank you for pointing that out to me. Just the right solution.
--
Dave M G
Ubuntu Feisty 7.04
Kernel 2.6.20-16-386
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php