Does comments affect when including files in PHP? [duplicate]

梦想的初衷 提交于 2019-12-02 02:24:00

问题


Possible Duplicate:
Commenting interpreted code and performance

When you include a file in PHP with include() or any other function, its perfomance is affected by the amount of comments of the included file?

(I am not saying I am going to sacrifice legibility)


回答1:


No, the savings of time required to parse the file is not even measurable (too small) and not worth slightest consideration. It's definitely not the bottleneck of performance, so to say.



来源:https://stackoverflow.com/questions/7786136/does-comments-affect-when-including-files-in-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!