Does comments affect when including files in PHP?

2019-02-26 09:36发布

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条回答
forever°为你锁心
2楼-- · 2019-02-26 10:31

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.

查看更多
登录 后发表回答