English 中文(简体)
如果我们在法典档案中增加太多的评论,购买力平价是否会放慢? [复制]
原标题:Will PHP be slower if we add too many comments in code files? [duplicate]
This question already has answers here:
Closed 11 years ago.

Possible Duplicate:
Commenting interpreted code and performance
Does comments affect when including files in PHP?

让我们说,我们有100个班级档案,每当需要一页时,所有这些班级都必须由公共住房计划管理。

如果几乎一半的源代码线是评论的话,购买力平价是否会放慢? 因为我通常会增加许多评论和说明;对法典的描述。 汇编者的评论没有汇编成册,但PHP是翻译,可能发生任何坏事?

最佳回答

是的,但这只是很小的,可以(而且应当)完全通过使用装甲运兵车或另一种密码海滩来处理。 作为一种奖金,装甲运兵车也将加快其他一切。

如果贵网站比较缓慢,那么评论就是而不是

问题回答

速度缓慢的唯一途径是,口译员必须更多地读懂。 但是,就执行速度而言,它没有任何影响,因为它们只是口译员所忽视的。

因此,如果你增加评论,这根本不重要。

当然,教区必须做更多的工作,这样会有所减缓。 在我们的项目中,我们使用了一个,这确实使速度显著提高。 d 我建议使用加速器,然后可以评论你的守则,而不是担心业绩。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签