This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations.(May 2008) (Learn how and when to remove this message)
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]
^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)
^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.
^
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.
^
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.
In computer programming, the flyweight software design pattern refers to an object that minimizes memory usage by sharing some of its data with other...
usage for common tasks Flyweightpattern: a large quantity of objects share a common properties object to save space Marker pattern: an empty interface to...
in the Flyweight design pattern. Flyweight objects are divided into two components: an invariant component that is shared between all flyweight objects;...
weak references to string interns must be stored in the intern pool. Flyweightpattern The string comparison can halt at the first character mismatch. For...
rapidly locating free variables in expressions Flyweightpattern – an object programming design pattern, that also uses a kind of memoization Hashlife...
In software engineering, a design pattern describes a relatively small, well-defined aspect (i.e. functionality) of a computer program in terms of how...
Design Patterns: Elements of Reusable Object-Oriented Software (1994) is a software engineering book describing software design patterns. The book was...
implementations in the context of Lisp in the 1970s. String interning Flyweightpattern Merkle tree Hashlife Interning Liljenzin, Olle (2013). "Confluently...
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...
intersection (and), union (or) and difference (minus) are feasible using a flyweightpattern as shown below. An interface represents physical nodes and "virtual"...
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...
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...
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...
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...
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...
interim flyweight title since February 2021. He previously challenged for the IBF flyweight title in 2014, and the WBC and Ring magazine flyweight titles...
competes in the women's flyweight division of the Ultimate Fighting Championship (UFC), where she was formerly the Women's Flyweight champion. Boxing: Dmitry...
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...
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...
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...
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...