Item 16:Remember the 80-20 rule.(More Effective C++)
2011-09-30 13:03
330 查看
The 80-20 rule states that 80 percent of a program's resources are used by about 20 percent of the code: 80 percent of the runtime is spent in approximately 20 percent of the code; 80 percent of the memory is used by some 20 percent of the code; 80 percent of the disk accesses are performed for about 20 percent of the code; 80 percent of the maintenance effort is devoted to around 20 percent of the code. The rule has been repeatedly verified through examinations of countless machines, operating systems, and applications. The 80-20 rule is more than just a catchy phrase; it's a guideline about system performance that has both wide applicability and a solid empirical basis.
相关文章推荐
- More Effective C++----效率 & (16)牢记80-20准则(80-20 rule)
- More Effective C++ 条款16 谨记80-20法则
- How the 80/20 rule can help you be more effective.
- More.Effective.C++牢记 80-20 准则(80-20 rule)
- MoreEffective C++(条款16:谨记80-20法则)
- Item 8:Understand the different meanings of new and delete.(More Effective C++)
- Item 16: Use the same form in corresponding uses of new and delete.(Effective C++)
- Item 15:Understand the costs of exception handling.(More Effective C++)
- More Effective C++ 读书摘要(四、效率)Item16 - 24
- Effective C++ Item 16 Use the same form in corresponding uses of new and delete
- Item 20: Facilitate the return value optimization.(More Effective C++)
- more effective c++之Item M1:指针与引用的区别
- Item 19: Understand the origin of temporary objects.(More Effective C++)
- More Effective C++ Item 附2:一个auto_ptr的实现实例
- 读书笔记 effective c++ Item 16 成对使用new和delete时要用相同的形式
- Learn Python The Hard Way-Ecercise16~20
- 函数条款明明白白c++ effective c++ 条目16-20
- [翻译] Effective C++, 3rd Edition, Item 20: 用 pass-by-reference-to-const(传 const 引用)取代 pass-by-value(传值)(下)
- Item 6:Distinguish between prefix and postfix forms of increment and decrement operators.(More Effective C++)
- <Effective Mordern C++>Item 6:UseTheExplicitlyTypedInitializerIdiomWhenAutoDeducesUndesiredTypes