World.Optimize(IParallelRunner).md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.World
World.Optimize(IParallelRunner) Method
Sorts current instance inner storage so accessing Entity and their components from EntitySet and EntityMultiMap<TKey> always move forward in memory.
This method is not thread safe.
public void Optimize(DefaultEcs.Threading.IParallelRunner runner);
Parameters
runner IParallelRunner
The IParallelRunner to process this operation in parallel.