| FMalloc::QuantizeSize()
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/MallocBinned.h |
Include |
#include "HAL/MallocBinned.h" |
Source |
/Engine/Source/Runtime/Core/Private/HAL/MallocBinned.cpp |
For some allocators this will return the actual size that should be requested to eliminate internal fragmentation. The return value will always be >= Count. This can be used to grow and shrink containers to optimal sizes. This call is always fast and threadsafe with no locking.