摘要:
http://en.wikipedia.org/wiki/Flyweight_patternIncomputer programming,flyweightis asoftware design pattern. A flyweight is anobjectthat minimizesmemoryuse by sharing as much data as possible with other similar objects; it is a way to use objects in large numbers when a simple repeated representation 阅读全文