This digest is translated from things to optimize besides speed and memory. Due to my limited English proficiency, I have translated only some important parts and made many mistakes. Please forgive me.
Optimization is as important as optimizing memory and speed:
1.ProgramPower Consumption, heat production and fan noise (I note: reduce unnecessary operations, do not use an infinite loop to wait ).
2. Write to the disk. Check whether an unchanged file is frequently rewritten to the hard disk.
3. The size and complexity of software documents.
4. Read tutorial time and knowledge requirements.
5. Network Traffic
6. # The size of the include file, more accurately speaking, is the optimization of the interface (I note: ReduceCodeAbuse of include is also very important. Too many useless include will make the Code a mess, and will re-compile many unaffected modules after modifying the header file, for details, see "valid C ++ ").
7. The number of clicks required when a user completes a function is an optimization on UX.
8. software start time.
9. The time required for Rebuild of the project, and the time required to confirm bug-free after a complex logic is modified.
10. The number of special functions or special code that need to be recorded in the document (I note: Try to make the software functions simple and clear, and the code is concise and easy to read ).