Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
|
But it should have an influence on the CPU usage, as the system should open the whole file; like opening a large file in windows.
|
And what do you think the PHP engine does on each access to a PHP file ?
Php is a dynamic, scripting language. As it is not compiled in a binary form, each access to it cause the parsing of the file.
Of course it have an incidence, but the comment are so light, that they are negligible.
Last time I did a trace into PHP files, 98% of the execution time where sending SQL query to the db and waiting for the result.
Optimize your code logic first, then your sql queries, and don't bother going further.
__________________
Only a biker knows why a dog sticks his head out the window.
|