文件名称:C++性能优化 指南(强列推荐) chm版
文件大小:771KB
文件格式:CHM
更新时间:2011-04-05 10:10:53
C++性能优化 chm版 指南(强列推荐)
C++性能优化 指南(强列推荐) chm版
Part I: Everything But the Code
Chapter 1. Optimizing: What Is It All About?
Performance
Footprint
Summary
Chapter 2. Creating a New System
System Requirements
System Design Issues
The Development Process
Data Processing Methods
Summary
Chapter 3. Modifying an Existing System
Identifying What to Modify
Beginning Your Optimization
Analyzing Target Areas
Performing the Optimizations
Summary
Part II: Getting Our Hands Dirty
Chapter 4. Tools and Languages
Tools You Cannot Do Without
Optimizing with Help from the Compiler
The Language for the Job
Summary
Chapter 5. Measuring Time and Complexity
The Marriage of Theory and Practice
System Influences
Summary
Chapter 6. The Standard C/C++ Variables
Variable Base Types
Grouping Base Types
Summary
Chapter 7. Basic Programming Statements
Selectors
Loops
Summary
Chapter 8. Functions
Invoking Functions
Passing Data to Functions
Early Returns
Functions as Class Methods
Summary
Chapter 9. Efficient Memory Management
Memory Fragmentation
Memory Management
Resizable Data Structures
Summary
Chapter 10. Blocks of Data
Comparing Blocks of Data
The Theory of Sorting Data
Sorting Techniques
Summary
Chapter 11. Storage Structures
Arrays
Linked Lists
Hash Tables
Binary Trees
Red/Black Trees
Summary
Chapter 12. Optimizing IO
Efficient Screen Output
Efficient Binary File IO
Efficient Text File IO
Summary
Chapter 13. Optimizing Your Code Further
Arithmetic Operations
Operating System–Based Optimizations
Summary
Part III: Tips and Pitfalls
Chapter 14. Tips
Tricks
Preparing for the Future
Chapter 15. Pitfalls
Algorithmic Pitfalls
Typos that Compile
Other Pitfalls