@brief Release internal working memory allocated for world
The worlds allocate working memory internally for simulation stepping. This
function can be used to free world's internal memory cache in case if number of
objects/joints in the world decreases significantly. By default, internal
allocation policy is used to only increase cache size as necessary and never
decrease it.
If a world shares its working memory with other worlds the cache deletion
affects all the linked worlds. However the shared status itself remains intact.
The function call does affect neither memory reservation policy nor memory manager.
@param w The world to release working memory for.
@ingroup world
@see dWorldUseSharedWorkingMemory
@see dWorldSetStepMemoryReservationPolicy
@see dWorldSetStepMemoryManager
@brief Release internal working memory allocated for world
The worlds allocate working memory internally for simulation stepping. This function can be used to free world's internal memory cache in case if number of objects/joints in the world decreases significantly. By default, internal allocation policy is used to only increase cache size as necessary and never decrease it.
If a world shares its working memory with other worlds the cache deletion affects all the linked worlds. However the shared status itself remains intact.
The function call does affect neither memory reservation policy nor memory manager.
@param w The world to release working memory for.
@ingroup world @see dWorldUseSharedWorkingMemory @see dWorldSetStepMemoryReservationPolicy @see dWorldSetStepMemoryManager