Premature Optimization
Version 1.0.0 · Updated 2026-07-30
CORE DEFINITION
Premature optimization means investing substantial effort in small performance improvements without adequate requirements or measurements, potentially adding complexity for little benefit. Knuth criticized excessive attention to small efficiencies while emphasizing opportunities in critical parts; this does not prohibit early consideration of algorithms or performance goals.
SCAFFOLDING EFFECT
Reduce cognitive load
Require a goal, measurement basis, and expected benefit for performance work so effort is directed toward bottlenecks that affect user requirements.
Anchor fast decisions
Prematurely polishing details when requirements and bottlenecks are unclear wastes resources and is often based on wrong assumptions, making the system harder to modify.
MINIMUM ACTION
In progress 0/1Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Program_optimizationverified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS