Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using LINQ for filtering, grouping and dictionary building. Instead, we do these ourselves to reduce overhead. Actors are checked for AutoTargetIgnoreInfo (rather than the trait) since info checks are marginally faster. This check can now be done immediately to allow us to skip such actors right away. The ClosestTo calculation is now only run on the group on actors for the selected armament, rather than all potential armaments.
- Loading branch information
1 parent
487727c
commit 7fbbaa2
Showing
1 changed file
with
39 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters