我总是(好好试试)评论我的代码.我已将配置我的服务器以在发送前删除这些注释/额外空格.最好不要在实时系统代码(Javascript/php)中发表评论,从而减少这种开销或删除或解释?
如果是这样我怎么能吃蛋糕呢?
javascript php commenting
可能重复: 注释解释的代码和性能
当您在PHP中包含文件include()或任何其他功能时,其性能会受到所包含文件的注释量的影响?
include()
(我不是说我要牺牲易读性)
php performance comments include
php ×2
commenting ×1
comments ×1
include ×1
javascript ×1
performance ×1