Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TGrowOnlyLockFreeHash
Warnings * Can only be called once, and only before any items have been added!
Description
Preallocate the hash table to a certain size
Can only be called once, and only before any items have been added!
| Name | Reserve |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Experimental/Containers/GrowOnlyLockFreeHash.h |
| Include Path | #include "Experimental/Containers/GrowOnlyLockFreeHash.h" |
void Reserve
(
int32 Count
)
Parameters
| Name | Remarks |
|---|---|
| Count | Number of EntryType elements to allocate |