Week 8 of the course¶
Self-study¶
The topics for this week are the following: (i) Amortized performance and std::vector (ii) Verifying asymptotic performance (iii) Tips for increasing actual performance and (iv) Randomization
The following links will take you to the video-lectures and the accompanying slides:
Amortized performance and std::vector¶
Verifying asymptotic performance¶
Tips for increasing actual performance¶
Amortized performance and std::vector¶
Verifying asymptotic performance¶
Tips for increasing actual performance¶
Randomization¶
Extra links on the topic:
There is no shortage of opinions on how to improve the efficiency of C++ code. Here is one link and a warning. Some of information is quite technical. -A long discussion in stackoverflow: