When building applications, you often come across objects that are quite expensive to create.
In some scenarios, the cost of creating new objects is high enough to impact application performance. Here’s where the object pool design pattern comes to the rescue. The object pool design pattern is a creational design pattern that is used to recycle objects rather than recreate them each time the application needs them.

By keeping reusable instances of objects in a resource pool, and doling them out as needed, this pattern helps to minimize the overhead of initializing, instantiating, and disposing of objects and to boost the performance of your application.To read this article in full or to leave a comment, please click here

Leave a Reply