重复创建并丢弃对象的方法产生很小的性能开销,而持有现有对象实例以便重用的方法则为垃圾收集器增加大量的工作负担。
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.
作为一个规定,在烹炸用油丢弃前只重复使用一次,且在第一次使用后的几周内重复使用。
As a rule, reuse it one time before disposal, and reuse it within a few weeks after the first use.
我们从图书馆借书替代买书,能够重复利用的我们都不丢弃,我们都为能居住在一个整洁干净的屋子里而感到自豪。
We reuse as much as we can. Together, we take pride in living in a clean, airy, uncluttered home.
应用推荐