Class ListPool
    Public
    
    Lightweight List Pool.
Handy class for pooling lists of type T.
Usage:
Claim a new list using
List<SomeClass> foo = ListPool<SomeClass>.Claim ();Use it and do stuff with it
Release it with
ListPool<SomeClass>.Release (foo);
You do not need to clear the list before releasing it. After you have released a list, you should never use it again, if you do use it, you will mess things up quite badly in the worst case.
Since
Version 3.2
See
Pathfinding.Util.StackPool
Public Static Methods
Private/Protected Members
        
                LargeThreshold
        
    
                    
                    
                        Private
                            Static
                    
                
        
                MaxCapacitySearchLength
        
    
                    
                    When requesting a list with a specified capacity, search max this many lists in the pool before giving up.
                        Private
                            Static
                    
                
        
                MaxLargePoolSize
        
    
                    
                    
                        Private
                            Static
                    
                
        
                inPool
        
    
                    
                    
                        Private
                            Static
                            Readonly
                    
                
        
                largePool
        
    
                    
                    
                        Private
                            Static
                            Readonly
                    
                
        
                pool
        
    
                    
                    Internal pool.
                        Private
                            Static
                            Readonly