2 Hours Ago
More optimisations for missions WorldPositionGenerator Remove the uneccessary persistent heap allocations for quadtree element arrays and element->rect lookup. Just store rect arrays directly Only keep in memory rects which we know are within valid bounds for a given set of input values rather than all of them Don't do boundary checks on those rects which have been preprocessed (we already know they are within valid bounds) Remove some garbage allocs from lambda captures in PrecalculatePositions (takes place once at server boot)