Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSpanAllocator
Description
Between these calls to Free just appends the allocation to the free list, rather than trying to merge with existing allocations. At EndDeferMerges the free list is consolidated by sorting and merging all spans. This amortises the cost of the merge over many calls.
| Name | Consolidate |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SpanAllocator.h |
| Include Path | #include "SpanAllocator.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SpanAllocator.cpp |
void Consolidate()