Everything About ___
Live briefing

Everything about Flyweight pattern

Software design pattern for objects

In computer programming, the flyweight software design pattern refers to an object that minimizes memory usage by sharing some of its data with other similar objects. The flyweight pattern is one of twenty-three GoF design patterns. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Flyweight patternA 5-minute orientation
  2. Pick up a classic book: Design PatternsThe most-reprinted book on the subject
  3. Read the landmark paper: Removing duplicated geometries in IFC models using rigid body transformation estimation and flyweight design patternCited 9 times
  4. Go sideways: Decorator patternA closely related topic
  5. Go sideways: Variadic templateA closely related topic

đź“– Definitions

Noun A structural design pattern in which an object contains no pointers to data type methods.

🗂️ The subject at a glance

  1. Overview
  2. Implementation details
  3. Examples

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics