generated at
早すぎる最適化は諸悪の根源
>In DonaldKnuth's paper "StructuredProgrammingWithGoToStatements", he wrote: "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 debugging and 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%."
Donald Knuthは論文 "Structured Programming With Go To Statements" の中でこう書いている:「プログラマーは、プログラムの重要でない部分のスピードについて考えたり、悩んだりすることに膨大な時間を浪費している。このような効率化の試みは、デバッグやメンテナンスを考慮すると、実際には強い悪影響を及ぼす。97%の小さな効率化は忘れるべきだ。早すぎる最適化は諸悪の根源である。ただし、3%の重要な機会を逃してはならない。」(西尾訳)