Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TSparseArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/SparseArray.h |
| Include | #include "Containers/SparseArray.h" |
void Reserve
&40;
int32 ExpectedNumElements
&41;
Remarks
Preallocates enough memory to contain the specified number of elements.
Parameters
| Name | Description |
|---|---|
| ExpectedNumElements | the total number of elements that the array will have |