TInlineSetAllocator::GetNumberOfHashBuckets

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

Choose your operating system:

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.