flyweight2

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


Keywords
flyweight, flyweight-pattern, objectpool, shared-memory
License
MIT
Install
pip install flyweight2==0.0.2

Documentation

flyweight2

image0 image1 image2 image3 image4 image5

Look at the tests.py to know how to use it and how it works.

Installation

pip install flyweight2