Explain object pooling?
Answer / vadivel
In computer programming, a Object pool is a software design
pattern. An object pool is a set of initialised objects
that are kept ready to use, rather than allocated and
destroyed 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 with an object, it
returns it to the pool, rather than destroying it. It is a
specific type of factory object.
Object pooling can offer a significant performance boost;
it is most effective in situations where the cost of
initializing a class instance is high, the rate of
instantiation of a class is high, and the number of
instantiations in use at any one time is low.
Is This Answer Correct ? | 7 Yes | 0 No |
What are the different compatibility types when we create a COM component?
Explain JIT activation?
what is oops
What kind of components can be used as DCOM servers?
What is a moniker ?
How can would you create an instance of the object in COM
what is far pointer and what are the use of far poiter in com/dcom ?????
Do COM keep track of all the object references(Accounting)?
Explain object pooling?
Explain Futures of COM?
Suppose we have object b and aggregated object c (in- proc server), created by b. Can you access any interface of b from c? What?s the difference between aggregated and contained objects?
Let?s assume we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C? What?s the difference between aggregated and contained objects?