Object pool pattern: Difference between revisions

Content deleted Content added
Marudubshinki (talk | contribs)
No edit summary
Pearle (talk | contribs)
m Changing {{cleanup-date}} to {{cleanup-date|December 2005}}
Line 1:
{{wikify}}
{{cleanup-date|OctoberDecember 2005}}
 
In [[computer programming]], an '''object pool''' is a construct of objects which can be used concurrently. Typically, a client object which requires resources which are managed by the object pool will request an object from the pool and perform operations on the returned object. Object pooling offers a significant performance boost and is most efficient in situations where the cost of initializing a class instance is high and the amount of instantiations of a particular class is also frequent.