What is lazy loading?- Heavy weight application consume a lot of time while loading the plug-ins.
- In lazy loading approach, the plug-ins that are needed at that particular time are loaded and instantiated.
- This boosts up the performance as only the plug-ins that are used to load.
- This also ensures the efficiency and speeds up the initial load time of the applications.
- Applications like eclipse use this approach. In other words, the goal of lazy loading is to dedicate memory only when it is absolutely necessary.
|