What is object pooling?

 Posted by Raja on 3/3/2009 | Category: C# Interview questions | Views: 88601
Answer:

Object Pooling is something that tries to keep a pool of objects in memory to be re-used later and hence it will reduce the load of object creation to a great extent.

Object Pool is nothing but a container of objects that are ready for use. Whenever there is a request for a new object, the pool manager will take the request and it will be served by allocating an object from the pool.

This concept has been better explained in following article
http://www.c-sharpcorner.com/UploadFile/vmsanthosh.chn/109042007094154AM/1.aspx


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Fzd.indramohan on: 3/4/2009
Object Pool is nothing but a container of objects that are ready for use. Whenever there is a request for a new object, the pool manager will take the request and it will be served by allocating an object from the pool.

Login to post response