太多(Too many) 享元(Flyweight):太多对象(too many objects) Flyweidht模式可能让人感到奇怪的一点是, 它(在其它模式的辅助下)是改善性能(performance hack)的一种方法。
基于12个网页-相关网页
If the nursery is very full even after collection, too many objects are probably surviving collections.
如果在收集之后婴儿区域仍然很满,那么可能有很多对象在收集中存活了下来。
For example, we are using the concurrent techniques in Jetty, but we do not use many of the standard concurrent data structures as they create too many objects.
比如说,我们在Jetty中使用了并发技术,但却并没有使用常见的标准并发数据结构,因为这会创建太多的对象。
And so in mathematics; a property common to too many objects can hardly be very exciting, and mathematical ideas also become dim unless they have plenty of individuality.
在数学中也是这样,一个为过多对象所共同具有的性质鲜能激动人心,除非拥有足够的特殊性,否则数学思想也会变得暗淡无光。
应用推荐