/Engine/Source/Runtime/AIModule/Public/HierarchicalHashGrid2D.h
Potential optimizations:
template<int32 InNumLevels, int32 InLevelRatio, typename InItemIDType> class THierarchicalHashGrid2D
TSet<FCell>
Cells
Number items per level, can be used to skip certain levels.
TStaticArray< f...
CellSize
TStaticArray< f...
InvCellSize
Lowest level cell size
TSparseArray<F...
Items
TSetuses hash buckets to locate items.
TStaticArray< i...
LevelItemCount
1 / CellSize
int32
SpillList
TSparseArrayuses freelist to recycled used items.