[PHP] Big Words (RE: [PHP] Classes and performance bottlenecks)

2001-08-14 Thread Jason Murray
> 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 ;)

Re: [PHP] Classes and performance bottlenecks

2001-08-14 Thread Richard Lynch
>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

Re: [PHP] Classes and performance bottlenecks

2001-08-14 Thread Christian Reiniger
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

RE: [PHP] Classes and performance bottlenecks

2001-08-13 Thread Maxim Maletsky
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