Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M0553

Memoization

Memoization
DecideHigh supportDecision Science
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

An optimization technique that caches the results of expensive function calls (noting them in a memo), so that when the same inputs occur again, the cached result is returned directly without recomputation. Scaffolding role: avoid redundant work. In work and life, for recurring and time-consuming problems (such as common email replies, complex decision logic), one should establish an 'external cache' (templates, SOPs), and never solve the same problem from scratch twice.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

Avoid redundant work. In work and life, for recurring and time-consuming problems (such as common email replies, complex decision logic), one should establish an 'external cache' (templates, SOPs), and never solve the same problem from scratch twice.

anchor

Anchor fast decisions

Cache results of expensive computations for identical inputs (lookup table), trading space for time, reducing repeated computation to O(1) lookup; side effects include initial computation still required and storage overhead.

MINIMUM ACTION

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/MemoizationZH · Explicit
    verified

RELATED MODELS