【问题标题】:Does comments affect when including files in PHP? [duplicate]在 PHP 中包含文件时,注释会影响吗? [复制]
【发布时间】:2011-12-08 19:48:21
【问题描述】:

可能重复:
Commenting interpreted code and performance

当您在 PHP 中使用 include() 或任何其他函数包含文件时,其性能会受到包含文件的 cmets 数量的影响?

(我并不是说我会牺牲可读性)

【问题讨论】:

标签: php performance include comments


【解决方案1】:

不,解析文件所需的时间节省甚至无法衡量(太小),也不值得考虑。这绝对不是性能的瓶颈,可以这么说。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-12-13
    • 2011-11-11
    • 2010-09-21
    • 2015-11-20
    • 2012-06-02
    • 1970-01-01
    • 2013-06-18
    • 2014-09-20
    相关资源
    最近更新 更多