Lazy initialization of memory structures will save CPU time and may defer the activation of other plug-ins.
内存结构的滞后初始化可以节省CPU时间并延迟其他插件的激活。
Lazy initialization is quite useful in a number of scenarios when the initialization can occur as part of the first request to an object.
在很多情况下,当初始化可以作为针对对象的第一个请求的一部分发生时,惰性初始化很有用。
Lazy initialization: it sometimes makes sense to defer initialization if the cost of initialization is significant.
延迟初始化:如果初始化成本过高,有时推迟初始化的过程是很有用的。
应用推荐