[PHP] Re: Code Bulk

2002-03-26 Thread Philip Hallstrom
Why not just take that file and remove anything that isn't a function (so nothing actually executes) and then do something like: print microtime(); include thatfile.php; print microtime(); and see how long it took to parse 3000 lines... one more line isn't going to make that much difference.

Re: [PHP] Re: Code Bulk

2002-03-26 Thread Gerard Samuel
That is an excellent example. And just for the hell of it, Ill leave the lines that aren't in the function as is, just for the hell of it. Thanks. Philip Hallstrom wrote: Why not just take that file and remove anything that isn't a function (so nothing actually executes) and then do something

[PHP] Re: Code Bulk

2002-03-26 Thread Steve Clay
GS ?php GS echo 'Finished'; ? I can do one better: ... ?Finished?php ... Seriously, I think he's right to think parsing 3000 lines with *every* call will be less than ideal. He should use include() conditionally to grab only the necessary code, but only to an extent. Then you start adding