C++ Optimization Techniques
I have been taking a Nano Degree program - Introduction to Self-driving Cars on Udacity for the past three months. And here are several C++ optimization techniques introduced in this class I want to share with you: 1. Remove dead code 2. Avoid Extra if Statements 3. Avoid Nested for Loops 4. Avoid Creating Extra Variables 5. Reserve Space in Memory for Vectors 6. Passing Variables by Reference 7. Using Static In the following blogs, I am going to elaborate these techniques with related instances. Keep learning~