Class PathPool
Public
Pools path objects to reduce load on the garbage collector.
Public Static Methods
GetPath< T >
()
Get a path from the pool or create a new one if the pool is empty.
Public
Static
GetSize
(type)
Number of pooled instances of a path of the specified type.
Public
Static
GetTotalCreated
(type)
Total created instances of paths of the specified type.
Public
Static
Pool
(path)
Adds a path to the pool.
Public
Static
Private/Protected Members
pool
Private
Static
Readonly
totalCreated
Private
Static
Readonly