12-14-2007, 08:42 PM
|
#11 (permalink)
|
|
The Wanderer
Join Date: Dec 2007
Posts: 14
Thanks: 0
|
Quote:
Originally Posted by Wildhoney
I think you're spot on with that, Gilzow. Although I don't imagine it adds much overhead at all - probably a few milliseconds in it, I would assume, without profiling it.
|
agreed. I'm betting that the difference between the two is minuscule, at least in most situations. I bet you begin to see a bigger difference in situations where you have a LOT of required/included files.
Funny you mention the profiling, cuz that's just what I did. I had one file that required 5 files, and a second that did a require_once for each of the 5 files. The require_once file took 44.3 milliseconds longer than the require version.
|
|
|
|