flyweight

「flyweight」的意思

n. (拳击或其他比赛中的)特轻量级选手,次最轻量级选手(体重48至51公斤) ;(拳击或其他比赛中...

n.次最轻量级的拳击选手

「flyweight」的用法

flyweight轻量级的,节省资源的 - 在设计模式中,Flyweight模式是一种结构型设计模式,用于减少大量细粒度对象的内存占用。

「flyweight」的例句

The flyweight pattern is useful when you have a large number of similar objects.

当您有很多相似的对象时,Flyweight模式很有用。

By sharing data, the flyweight pattern can reduce memory usage.

通过共享数据,Flyweight模式可以减少内存使用。

Flyweight objects can be reused to save memory.

Flyweight对象可以重用以节省内存。

This pattern is often used in graphics applications.

此模式经常用于图形应用程序。

Flyweight objects share state that is common to many instances.

Flyweight对象共享许多实例共有的状态。

The pattern separates intrinsic and extrinsic state of objects.

该模式将对象的内在状态和外在状态分开。

This separation allows for more efficient memory management.

这种分离允许更有效的内存管理。

Flyweight objects can be created and destroyed as needed.

Flyweight对象可以根据需要创建和销毁。

The pattern can improve performance in applications with a large number of similar objects.

当应用程序中有大量相似的对象时,该模式可以提高性能。

「flyweight」的相关推荐

carriole cheapo eftsoon porphyritic rima
分享这个页面