MCPcopy Create free account
hub / github.com/GameFoundry/B3DFramework / SparseSet

Class SparseSet

Source/Engine/Utility/ECS/B3DSparseSet.h:182–593  ·  view source on GitHub ↗

* Similar to an array, but saves memory by not allocating data if there are large gaps in the stored indices. i.e. while a regular array would * require you to allocate an array of size 100 000 to store an entry at index 99 999, sparse set will only allocate a single page of data. * * Internally the set works by allocating two arrays: * - Sparse: Stores lookup from the user-provided index

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

GetIdentifierMethod · 0.80
SizeMethod · 0.45
ResizeMethod · 0.45
IsEmptyMethod · 0.45
DataMethod · 0.45

Tested by

no test coverage detected