Global Information Lookup Global Information

Flyweight pattern information


A screenshot of LibreOffice's Writer package.
Text editors, such as LibreOffice Writer, often use the flyweight pattern.

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 well-known GoF design patterns.[1] These patterns promote flexible object-oriented software design, which is easier to implement, change, test, and reuse.

In other contexts, the idea of sharing data structures is called hash consing.

The term was first coined, and the idea extensively explored, by Paul Calder and Mark Linton in 1990[2] to efficiently handle glyph information in a WYSIWYG document editor.[3] Similar techniques were already used in other systems, however, as early as 1988.[4]

  1. ^ Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides (1994). Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley. pp. 195ff. ISBN 978-0-201-63361-0.{{cite book}}: CS1 maint: multiple names: authors list (link)
  2. ^ Gamma, Erich; Richard Helm; Ralph Johnson; John Vlissides (1995). Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley. pp. 205–206. ISBN 978-0-201-63361-0.
  3. ^ Calder, Paul R.; Linton, Mark A. (October 1990). "Glyphs: Flyweight Objects for User Interfaces". Proceedings of the 3rd annual ACM SIGGRAPH symposium on User interface software and technology - UIST '90. The 3rd Annual ACM SIGGRAPH Symposium on User Interface Software and Technology. Snowbird, Utah, United States. pp. 92–101. doi:10.1145/97924.97935. ISBN 0-89791-410-4.
  4. ^ Weinand, Andre; Gamma, Erich; Marty, Rudolf (1988). ET++—an object oriented application framework in C++. OOPSLA (Object-Oriented Programming Systems, Languages and Applications). San Diego, California, United States. pp. 46–57. CiteSeerX 10.1.1.471.8796. doi:10.1145/62083.62089. ISBN 0-89791-284-5.

and 21 Related for: Flyweight pattern information

Request time (Page generated in 0.8822 seconds.)

Flyweight pattern

Last Update:

In computer programming, the flyweight software design pattern refers to an object that minimizes memory usage by sharing some of its data with other...

Word Count : 1630

Structural pattern

Last Update:

usage for common tasks Flyweight pattern: a large quantity of objects share a common properties object to save space Marker pattern: an empty interface to...

Word Count : 341

Decorator pattern

Last Update:

in the Flyweight design pattern. Flyweight objects are divided into two components: an invariant component that is shared between all flyweight objects;...

Word Count : 4186

String interning

Last Update:

weak references to string interns must be stored in the intern pool. Flyweight pattern The string comparison can halt at the first character mismatch. For...

Word Count : 953

Memoization

Last Update:

rapidly locating free variables in expressions Flyweight pattern – an object programming design pattern, that also uses a kind of memoization Hashlife...

Word Count : 3744

Software design pattern

Last Update:

In software engineering, a design pattern describes a relatively small, well-defined aspect (i.e. functionality) of a computer program in terms of how...

Word Count : 2802

Design Patterns

Last Update:

Design Patterns: Elements of Reusable Object-Oriented Software (1994) is a software engineering book describing software design patterns. The book was...

Word Count : 1809

Hash consing

Last Update:

implementations in the context of Lisp in the 1970s. String interning Flyweight pattern Merkle tree Hashlife Interning Liljenzin, Olle (2013). "Confluently...

Word Count : 530

Valentina Shevchenko

Last Update:

competes in the women's Flyweight division for the Ultimate Fighting Championship (UFC), where she is the former UFC Women's Flyweight Champion. As of March...

Word Count : 7455

Bitwise trie with bitmap

Last Update:

intersection (and), union (or) and difference (minus) are feasible using a flyweight pattern as shown below. An interface represents physical nodes and "virtual"...

Word Count : 3166

Module pattern

Last Update:

singleton pattern. However, other design patterns may be applied and combined, in the same class. This pattern can be used as a decorator, a flyweight, or an...

Word Count : 1916

Antonina Shevchenko

Last Update:

currently competing in the flyweight division of the UFC. She is the older sister of fellow UFC fighter and former UFC Flyweight champion Valentina Shevchenko...

Word Count : 1842

Ultimate Fighting Championship

Last Update:

vs. Kampmann featured the organization's first two flyweight fights as part of its first flyweight tournament, which consists of bouts that, in the event...

Word Count : 31401

2023 in UFC

Last Update:

contract – Women's Flyweight Jinh Yu Frey – Released in October – Women's Strawweight Ji Yeon Kim – Released in May – Women's Flyweight Jessica-Rose Clark...

Word Count : 7690

Rolando Pascua

Last Update:

professional boxer. He held the WBC light-flyweight title from 1990 to 1991 and challenged for the IBF super-flyweight title in 1993. Pascua debuted as a professional...

Word Count : 842

McWilliams Arroyo

Last Update:

interim flyweight title since February 2021. He previously challenged for the IBF flyweight title in 2014, and the WBC and Ring magazine flyweight titles...

Word Count : 3003

Kyrgyzstan

Last Update:

competes in the women's flyweight division of the Ultimate Fighting Championship (UFC), where she was formerly the Women's Flyweight champion. Boxing: Dmitry...

Word Count : 13373

Argentina

Last Update:

Pérez, one of the most decorated flyweight boxers of all times; Horacio Accavallo, the former WBA and WBC world flyweight champion; Víctor Galíndez, as of...

Word Count : 23491

Armenia

Last Update:

Olympics in Atlanta, Armen Nazaryan won the gold in the Men's Greco-Roman Flyweight (52 kg) category and Armen Mkrtchyan won the silver in Men's Freestyle...

Word Count : 19663

Zambia

Last Update:

and on the track. In 1984 Keith Mwila won a bronze medal in the light flyweight. In 1996 Samuel Matete won a silver medal in the 400-metre hurdles. Zambia...

Word Count : 13718

Navajo

Last Update:

the fall of the Philippines in 1942 Nicco Montaño, former women's UFC flyweight champion Chester Nez, the last original Navajo code talker who served...

Word Count : 7946

PDF Search Engine © AllGlobal.net