What is the opposite of lazy loading?

僤鯓⒐⒋嵵緔 提交于 2019-12-09 07:41:42

问题


Is there a common term / catch-phrase for the opposite of lazy loading?


回答1:


The oposite term for lazy loading is eager loading.

Eager loading is essentially computing the tasks when you ask for it.

Lazy Loading is when you only do the computation when it is required.




回答2:


I've seen the terms "Eager Loading" and "Aggressive Initialization" both used.




回答3:


I'd say that the opposite of lazy is proactive loading, i.e. loading something in advance, before it's really needed.

However it's hard to pick the opposites when you have 3 entities {lazy, eager, proactive}



来源:https://stackoverflow.com/questions/5427949/what-is-the-opposite-of-lazy-loading

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!