Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Hash > API/Runtime/Core/Hash/FXxHash128 > API/Runtime/Core/Hash/FXxHash128/HashBufferChunked
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Hash/xxhash.h |
Include | #include "Hash/xxhash.h" |
Source | /Engine/Source/Runtime/Core/Private/Hash/xxhash.cpp |
static FXxHash128 HashBufferChunked
(
FMemoryView View,
uint64 ChunkSize
)
Remarks
Hash the buffer in parallel in independent chunks, and hash those hashes.
Use a ChunkSize large enough to cover task overhead, e.g., 256+ KiB. Hashing the same buffer with different chunk sizes produces a different output hash.