draft notes from scott meyers talk on knuth

This commit is contained in:
Damian Gryski 2018-03-14 09:27:30 -07:00
parent 29007c4fa4
commit 362c7d185d

View File

@ -66,6 +66,10 @@ maintenance are considered. We should forget about small efficiencies, say
about 97% of the time: premature optimization is the root of all evil. Yet we
should not pass up our opportunities in that critical 3%." -- Knuth
Add: https://www.youtube.com/watch?time_continue=429&v=RT46MpK39rQ
* don't ignore the the easy optimizations
* more knowledge of algorithms and data structures makes more optimizations "easy" or "obvious"
"Should you optimize? "Yes, but only if the problem is important, the program
is genuinely too slow, and there is some expectation that it can be made
faster while maintaining correctness, robustness, and clarity."