Software Engineering KB

Home

❯

05 Software Design and Architecture

❯

01 Design Patterns

❯

01 Concept

❯

Flyweight

Flyweight

Feb 10, 20261 min read

  • design-patterns
  • structural
  • flyweight

Flyweight

← Back to Structural Patterns

Share common state to reduce memory. Use sharing to support large numbers of fine-grained objects efficiently. Separates intrinsic state (shared) from extrinsic state (context-dependent, passed in by client).

Key Properties

  • Intrinsic vs Extrinsic State
  • Flyweight Factory
  • Object Pooling

Related

  • Singleton (one instance, flyweight many shared instances)
  • Prototype (copy vs share)

design-patterns structural flyweight


Graph View

  • Flyweight
  • Key Properties
  • Related

Backlinks

  • Structural Patterns

Created with Quartz v4.5.2 © 2026

  • GitHub