Waqtdan oldin optimallashtirish effekti WikiWeb
Erta optimallashtirish barcha yomonliklarning ildizidir.
Donald Knutning "Structured Programming With Go To Statements" nomli maqolasida u shunday deb yozgan edi: "Dasturchilar o'z dasturlarining muhim bo'lmagan qismlarining tezligi haqida o'ylash yoki tashvishlanish uchun juda ko'p vaqtni behuda sarflashadi va samaradorlikka bo'lgan bunday urinishlar disk raskadrovkada jiddiy salbiy ta'sir ko'rsatadi. Biz kichik samaradorlik haqida unutishimiz kerak, aytaylik, taxminan 97% vaqt: muddatidan oldin optimallashtirish barcha yomonliklarning ildizidir. Shunga qaramay, biz o'z imkoniyatlarimizni o'ta muhim 3 foizda qo'ldan boy bermasligimiz kerak."
Biroq, muddatidan oldin optimallashtirish (kamroq yuklangan shartlarda) biz zarurligini bilishimizdan oldin optimallashtirish sifatida belgilanishi mumkin.
Premature Optimization on WikiWeb
Premature optimization is the root of all evil.
In Donald Knuth's paper Structured Programming With Go To Statements, 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%."
However, Premature Optimization can be defined (in less loaded terms) as optimizing before we know that we need to.