Lexicon

Per-Instance Duplicate State

Kind: anti-pattern

Layer: Design Patterns Core

Record: lexicon:per-instance-duplicate-state

Canonical: Lexicon

Storing identical shared state separately in every object instance, wasting memory at high object counts.

Listed in Lexicon terms, after Leaky Subsystem API and before Subclass Explosion.

Category

  • Structural Patterns

Negated by

  • Flyweight Pattern

Violates

  • Flyweight Pattern

Linked from

  • Structural Patterns