A* Pathfinding Project
4.0.3
The A* Pathfinding Project for Unity 3D
|
Static Public Member Functions | |
static T[] | ToArrayFromPool< T > (this List< T > list) |
Identical to ToArray but it uses ArrayPool<T> to avoid allocations if possible. | |
|
static |
Identical to ToArray but it uses ArrayPool<T> to avoid allocations if possible.
Use with caution as pooling too many arrays with different lengths that are rarely being reused will lead to an effective memory leak.