What does flyweight pattern mean?

Definitions for flyweight pattern
fly·weight pat·tern

This dictionary definitions page includes all the possible meanings, example usage and translations of the word flyweight pattern.

Wiktionary

  1. flyweight patternnoun

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

Wikidata

  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.

How to pronounce flyweight pattern?

How to say flyweight pattern in sign language?

Numerology

  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

Translation

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

Select another language:

  • - Select -
  • 简体中文 (Chinese - Simplified)
  • 繁體中文 (Chinese - Traditional)
  • Español (Spanish)
  • Esperanto (Esperanto)
  • 日本語 (Japanese)
  • Português (Portuguese)
  • Deutsch (German)
  • العربية (Arabic)
  • Français (French)
  • Русский (Russian)
  • ಕನ್ನಡ (Kannada)
  • 한국어 (Korean)
  • עברית (Hebrew)
  • Gaeilge (Irish)
  • Українська (Ukrainian)
  • اردو (Urdu)
  • Magyar (Hungarian)
  • मानक हिन्दी (Hindi)
  • Indonesia (Indonesian)
  • Italiano (Italian)
  • தமிழ் (Tamil)
  • Türkçe (Turkish)
  • తెలుగు (Telugu)
  • ภาษาไทย (Thai)
  • Tiếng Việt (Vietnamese)
  • Čeština (Czech)
  • Polski (Polish)
  • Bahasa Indonesia (Indonesian)
  • Românește (Romanian)
  • Nederlands (Dutch)
  • Ελληνικά (Greek)
  • Latinum (Latin)
  • Svenska (Swedish)
  • Dansk (Danish)
  • Suomi (Finnish)
  • فارسی (Persian)
  • ייִדיש (Yiddish)
  • հայերեն (Armenian)
  • Norsk (Norwegian)
  • English (English)

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:


Citation

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

Style:MLAChicagoAPA

"flyweight pattern." Definitions.net. STANDS4 LLC, 2024. Web. 1 May 2024. <https://www.definitions.net/definition/flyweight+pattern>.

Discuss these flyweight pattern definitions with the community:

0 Comments

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

    Image or illustration of

    flyweight pattern

    Credit »

    Free, no signup required:

    Add to Chrome

    Get instant definitions for any word that hits you anywhere on the web!

    Free, no signup required:

    Add to Firefox

    Get instant definitions for any word that hits you anywhere on the web!

    Browse Definitions.net

    Quiz

    Are you a words master?

    »
    wear away
    A monish
    B suffuse
    C knead
    D abrade

    Nearby & related entries:

    Alternative searches for flyweight pattern: