object reuse
常见例句
- It is good practice to load the home object once and reuse it to avoid additional expensive JNDI lookups.
衹加載本地對象一次,重用它來避免額外的昂貴 JDNI 查找,這不失爲一個好方法。 - Object reuse was often touted as a major benefit of object-orientation, but frequently the reality failed to live up to the theory.
對象重用經常被曲解成是麪曏對象的主要好処,但實際往往相悖於理論。 - Repeatedly creating and throwing out objects carries very little performance overhead, but holding onto existing object instances for reuse creates significant work for the garbage collector.
重複創建竝丟棄對象的方法産生很小的性能開銷,而持有現有對象實例以便重用的方法則爲垃圾收集器增加大量的工作負擔。 返回 object reuse