What is premature optimization

Several generations of software folklore capture the negative attitude towards premature optimization. But what is “premature” optimization exactly? I share some thoughts on the subject today. “Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when […]