What does flyweight pattern mean?

Definitions for flyweight pattern

Here are all the possible meanings and translations of the word flyweight pattern.


  1. flyweight pattern(Noun)

    a design pattern in which an object contains no pointers to data type methods.


  1. Flyweight pattern

    In computer programming, flyweight is a software design pattern. A flyweight is an object that minimizes memory use by sharing as much data as possible with other similar objects; it is a way to use objects in large numbers when a simple repeated representation would use an unacceptable amount of memory. Often some parts of the object state can be shared, and it is common practice to hold them in external data structures and pass them to the flyweight objects temporarily when they are used. A classic example usage of the flyweight pattern is the data structures for graphical representation of characters in a word processor. It might be desirable to have, for each character in a document, a glyph object containing its font outline, font metrics, and other formatting data, but this would amount to hundreds or thousands of bytes for each character. Instead, for every character there might be a reference to a flyweight glyph object shared by every instance of the same character in the document; only the position of each character would need to be stored internally. Another example is string interning. In other contexts the idea of sharing identical data structures is called hash consing.


  1. Chaldean Numerology

    The numerical value of flyweight pattern in Chaldean Numerology is: 2

  2. Pythagorean Numerology

    The numerical value of flyweight pattern in Pythagorean Numerology is: 2

Images & Illustrations of flyweight pattern

  1. flyweight patternflyweight patternflyweight pattern


Find a translation for the flyweight pattern definition in other languages:

Select another language:

Discuss these flyweight pattern definitions with the community:

Word of the Day

Would you like us to send you a FREE new word definition delivered to your inbox daily?

Please enter your email address:     


Use the citation below to add this definition to your bibliography:


"flyweight pattern." Definitions.net. STANDS4 LLC, 2018. Web. 22 Feb. 2018. <https://www.definitions.net/definition/flyweight pattern>.

Are we missing a good definition for flyweight pattern? Don't keep it to yourself...

Nearby & related entries:

Alternative searches for flyweight pattern:

Thanks for your vote! We truly appreciate your support.