Python Design Patterns
-
Updated
Apr 14, 2021 - Python
Python Design Patterns
A variant of the Flyweight pattern that allows the object to be modified without affecting other objects, and automatically shares the memory if the modified object is the same as other objects
Two examples of Flyweight and Flyweight Factory design patterns in Java and Python.
Flyweight pattern for word processor in python3. Implemented a Flyweight factory that given a unicode code point returns the Flyweight character object for the character and font. Created RunArray for tracking character sequence in the word document.
Flyweight objects made stupidly easy
Add a description, image, and links to the flyweight-pattern topic page so that developers can more easily learn about it.
To associate your repository with the flyweight-pattern topic, visit your repo's landing page and select "manage topics."