TSetAllocator::GetNumberOfHashBuckets

Computes the number of hash buckets to use for a given number of elements.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/ContainerAllocationPolicies.h

Include

#include "Containers/ContainerAllocationPolicies.h"

Syntax

static uint32 GetNumberOfHashBuckets
(
    uint32 NumHashedElements
)

Remarks

Computes the number of hash buckets to use for a given number of elements.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss