4 Days Ago
Only search for targets in grid cells around heli, instead of iterating on all players on the server When adding a new target, instead of iterating over all existing targets to see if we already have it, use a lookup table (squared complexity > linear complexity) Remove invalid targets by index instead of removing them by reference (squared complexity > linear complexity)