Best optimizer is between your ears
优化不仅仅是使用工具,使用汇编,最重要的是对程序有全面的了解,对所想要做的事情有足够的经验。
Don't waste your energy on the ugly codes.
对设计的很糟糕的代码进行优化,纯粹是在浪费时间。
Rules for building high-performance code:
编写高效代码的原则:
1) 明确的目的,并确认优化是否必要。 Make sure if it is necessary.
2) 必须对程序有整体的把握。 Make a big map.
3) 必须有大量的小计划。 Make lots of little maps.
4) 明确什么是重要的部分。 Where is neckbottle?
5) 考虑多种方法。 Always consider the alternatives.
6) 精益求精。 Turn on the juice.
优化之道
8212

被折叠的 条评论
为什么被折叠?



