flyweight pattern 中文意思是什麼

flyweight pattern 解釋
輕量模式
  • flyweight : n. 1. 最輕級(拳擊選手)。2. 小東西,無足輕重的東西。
  • pattern : n 1 模範,榜樣;典範。2 型,模型;模式;雛型;【冶金】原型。3 花樣;式樣;(服裝裁剪的)紙樣;圖...
  1. Immutability is what enables the flyweight pattern, which uses sharing to facilitate using objects to represent large numbers of fine - grained objects efficiently

    不變性啟用了flyweight模式,該模式利用共享使得用對象有效地表示大量細顆粒度的對象變得容易。
  2. The flyweight pattern employs a factory method to dispense references to immutable fine - grained objects and uses sharing to keep the object count down by only having a single instance of the object corresponding to the letter " a. " for more information on the flyweight pattern, see the classic book,

    Flyweight模式採用工廠方法來分配對不變的細顆粒度對象的引用,並通過僅使一個對象實例與字母「 a 」對應來利用共享縮減對象數。有關flyweight模式的更多信息,請參閱經典書籍
分享友人