Is there a common term / catch-phrase for the opposite of lazy loading?
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.
I've seen the terms "Eager Loading" and "Aggressive Initialization" both used.
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