如果对象的使用频率不高,或者对象的创建或销毁成本不高,则对象池可能不是正确的策略。
If your objects are not used with high frequency or do not have a high creation or destruction cost, then object pooling might not be the right strategy.
在电磁搅拌作用下,电磁力的大小随钢液液池宽度的增加呈指数衰减趋势,其衰减速率与电流频率和搅拌器极距有关。
The electromagnetic force decays rapidly in the molten steel, and its decaying speed is related to the current frequency and polar pitch of the stirrer.
运用对象池化技术可以显著地提升性能,尤其是当对象的初始化过程代价较大或者频率较高时。
Object pooling can offer a significant performance boost; it is most effective in situations where the cost of initializing a class instance is high, the rate of instantiation of a class is high.
运用对象池化技术可以显著地提升性能,尤其是当对象的初始化过程代价较大或者频率较高时。
Object pooling can offer a significant performance boost; it is most effective in situations where the cost of initializing a class instance is high, the rate of instantiation of a class is high.
应用推荐