gof-state-object-creation-tradeoff

Status: IN

State objects can be created on demand and destroyed (saves memory when states are rarely entered) or created all upfront and never destroyed (avoids repeated instantiation costs when state changes are frequent).

Source: entries/2026/06/17/gof-oo-chunk-20.md

Depended on by

JSON