IObjectPool<T>.Items Property |
[This is preliminary documentation and is subject to change.]
Namespace: Umbrace.Unity.PurePool
This property always creates a new List< T> each time the property getter is accessed. For performance reasons the value should be cached where possible, to avoid the costs of object instantiation and garbage collection.
See the GetItems(List< T> ) method for a way to avoid the allocation of a new List< T> object.