> Zend cache will ameliorate this to a great extent -- as the
> file is loaded once into RAM and left there.
^^
Wow, not often I see a new word like *that* around :)
And for those of us who don't know:
http://www.dictionary.com/wordoftheday/archive/1999/07/16.html
;)
>require_once("Smarty.class.php");
> require_once("DB.php");
> ?>
I used to think that require_once() was quite slow, and that doing your own:
if (!defined('smarty_class')){
define('smarty_class');
class Smarty{
...
}
}
was way more better.
It might depend on how *MANY* things you've
On Tuesday 14 August 2001 08:37, Maxim Maletsky wrote:
> See, there's also a time needed for the server to read the included
> file - an extra effort for your hard disk.
> If you'd put everything in one file it would work for you faster, but,
> of course, less portable.
I disagree. Aftre the firs
See, there's also a time needed for the server to read the included file -
an extra effort for your hard disk.
If you'd put everything in one file it would work for you faster, but, of
course, less portable.
Though, I don't understand why are your performance measures THAT different.
Cheers,
M
4 matches
Mail list logo