临时对象(Temporary Object):该对象是在程序执行过程中,由容器自动创 建并存储到值栈中的。临时对象的值并不固定,会随着应用不同而发生变化。
基于650个网页-相关网页
缓存和对象池技术均可以减少临时对象的创建。
Caching and pooling can be helpful techniques to reduce temporary object creation.
“闭包”可以被看成是在function scope中的一个临时对象。
The "closure" can be viewed as a temporary object that exists in the function scope.
大多数程序所创建的临时对象都用在单独的线程上下文中,很少被其他线程所用。
Most programs create many temporary objects that are used within the context of a single thread but never escape to the visibility of other threads.
应用推荐