Flyweight Pattern
Flyweight pattern is to help re-use created object if the object is fine-grained and the key parameter is not changed, in this case we can avoid to waste memory.
The parameters can be sperate to 2 parts, first part is internal parameters, like key paramet
原创
2021-11-07 11:16:55 ·
47 阅读 ·
0 评论