MEMO:
Factor handbook » The language » Memoization

Next:define-memoized ( word quot effect -- )


Vocabulary
syntax

Syntax
MEMO: word ( stack -- effect ) definition... ;


Inputs
None

Outputs
None

Word description
Defines the given word at parse time as one which memoizes its output given a particular input. The stack effect is mandatory.

See also
define-memoized

Definition