| PathEngine home | previous: | next: |
Controls PathEngine's path caching mechanism.
void setPathPoolParameters(tSigned32 pathsPooled, tSigned32 pointsPerPath); |
| pathsPooled | The size of the path pool. | ||
| pointsPerPath | The number of points to reserve space for per path. |
The path pool is designed to make it possible to avoid any dynamic allocations for paths taking place
during normal usage.
This method provides control over the parameters of the pool.
As long as no more than paths_pooled paths are in use at any one time and as long as none of those paths are longer than points_per_path, no memory allocations for paths will be made.
The default settings are 40 paths and 40 points per path.
| Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEngine | next: |