Minimize object creation.Object creation consumes memory and processor cycles, and leads to object destruction, which further reduces performance. Look for ways to reuse existing objects rather than create new ones.

 
  • 尽量减少创建的对象。创建对象会消耗内存和处理器周期,而且导致更加影响性能的对象销毁动作。请设法重用当前存在的对象,而不是创建新对象。
今日热词
目录 附录 查词历史