Class PathPool

Public

Pools path objects to reduce load on the garbage collector.

Public Static Methods

Get a path from the pool or create a new one if the pool is empty.

GetSize (type)

Number of pooled instances of a path of the specified type.

Total created instances of paths of the specified type.

Pool (path)

Adds a path to the pool.

Private/Protected Members

pool
Private Static Readonly
totalCreated
Private Static Readonly