高效代码与否? [英] Efficient Code or Not?
本文介绍了高效代码与否?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这种编码风格会不会给我带来一些超速的惩罚?我只是想减少编写open函数的次数。当然,这只是一个例子。
Will this style of coding cause me some speeding penalties? I am just trying to reduce the number of times I have to write an open function. Naturally, this is just an example.
展开 | 选择 | Wrap | 行号
推荐答案
这种编码风格会不会给我带来一些超速的惩罚?我只是想减少编写open函数的次数。当然,这只是一个例子。
Will this style of coding cause me some speeding penalties? I am just trying to reduce the number of times I have to write an open function. Naturally, this is just an example.
展开 | 选择 | Wrap | 行号
Kevin感谢您的意见和建议。我会在
Kevin Thanks for your comments and suggestions. I will take your advice on the
_ [0]上通过@_获取单个值的建议。那是一个好主意。
- 凯文
_[0] over @_ for a single value. That is a good idea.
--Kevin
这篇关于高效代码与否?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文