Object pool pattern: Difference between revisions

Content deleted Content added
Yobot (talk | contribs)
m WP:CHECKWIKI error 61 fix, References after punctuation per WP:REFPUNC and WP:PAIC using AWB (8459)
rm deprecated wikify tag
Line 1:
{{for|the article about a general pool|Pool (computer science)}}
{{citestyle|date=March 2012}}
 
{{wikify|date=March 2012}}
The '''object pool pattern''' is a software [[creational pattern|creational design pattern]] that uses a set of initialised [[Object (computer science)|objects]] kept ready to use, rather than allocating and destroying them on demand. A client of the pool will request an object from the pool and perform operations on the returned object. When the client has finished, it returns the object, which is a specific type of [[factory object]], to the pool rather than destroying it.