Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/Util/UniqueIndexSet.h |
Include |
#include "Util/UniqueIndexSet.h" |
Source |
/Engine/Source/Runtime/GeometryCore/Private/Util/UniqueIndexSet.cpp |
~FUniqueIndexSet()
TODO: second bit set that tracks which blocks of ints have been set. This would allow for clears to be much quicker for subsets. (would want to profile to see that it helps, but the bit set is still 0.125mb per million indices, which isn't a trivial amount to set to zero...) TODO: alternately, use a TSet instead of Bits array if we know that the number of values we are going to add is very small? This would avoid clears.