Skip to content

Amount Quote by Donald Knuth

“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…” quote by Donald Knuth
Download Open image
“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

About This Quote

Source Book: The Art of Computer Programming, 1968

Focusing on minor speed gains wastes time; only critical sections merit optimization, otherwise it harms maintainability.

In simple terms: Avoid premature optimization; focus on main bottlenecks.

Key Takeaway

Prioritize clarity over micro‑optimizations.

Themes

software engineering performance maintenance efficiency prioritization

Mood

practical cautionary

Type

technical advisory

When to use this quote

  • code reviews
  • profiling
  • refactoring

Key Concepts

trade‑offs debugging resource allocation

Questions to Reflect On

  • When is it worth optimizing?
  • How to identify the critical 3%?
A Different Perspective

Over‑optimizing can introduce bugs and delay delivery.

2.0 out of 5 (9 ratings)

More by Donald Knuth

Explore all 78 Donald Knuth quotes

More Amount quotes

Browse all 4,202 Amount quotes