Re: [PHP] parse speed vs require speed

2001-02-14 Thread Michael McGlothlin
Wouldn't the PHP cache/optimizing add-ons make it so it doesn't matter after the first time you run the script anyway? So even if the first pass was a few milliseconds slower it wouldn't be on future executions? Maxim Maletsky wrote: > My advise to you is to care about the portability of softw

RE: [PHP] parse speed vs require speed

2001-02-13 Thread Maxim Maletsky
My advise to you is to care about the portability of software rather then it's speed. include() and require() are not too painful, not too slow. You can easily have 10 of them and by that your page will be slower by only few dozens of milliseconds. However doing so you could reuse some parts of yo

Re: [PHP] parse speed vs require speed

2001-02-13 Thread Chris Lee
Accoring to Microsofts book 'Rapid Development' (dont knock it, excellent book) says the average human can not keep track of more then 500 lines of code at once, I beleive it. I break my code up into sections smaller then 500 lines, keeps the code better. load time because files are distributed is