Overlooked Essentials For Optimizing Code
From Auther's Blog (English):
From ChinaUnix (Chinese):
http://tech.chinaunix.net/a2010/0925/1107/000001107301.shtml
What I have got from this article.
1、Using a Profiler:
Using a profiler to find out the bottleneck of it.Then you can speed your time on where needed exactly.Cost little to do the better.
2、Lookint at the assemly code being executed:
Check the Asm code of your c/c++ source code compiled by the compiler.Then you will find what you wanna know.such as is it really inline?,is it going on as we think? etc. The assemly code always tells the truth of what the compiler have done.
There is no 'maybe' or no 'I think' in the programming.You must say 'sure' of what you have done about you code.You must know everything of it erverytime.
作者:麒麟子
出处:http://www.cnblogs.com/qilinzi/
蛮牛专栏:麒麟子
简介:麒麟子,编程15年,科技创始人,技术作家。
09年进入游戏行业,16年创立成都幼麟科技有限公司。十年从业经验练就了游戏全栈技能,目前专注于手机游戏领域。
版权声明:本文版权归作者和博客园共有,欢迎转载。转载必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。