Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse HashSets for actors entered/exited in CellTrigger & ProximityTrigger. #14931

Merged
merged 1 commit into from Mar 21, 2018

Conversation

Projects
None yet
4 participants
@RoosterDragon
Copy link
Member

RoosterDragon commented Mar 17, 2018

Actors involved in the trigger are determined as actors move around near the trigger - and can be expensive in some maps. This allows us to avoid allocating new sets and the CPU hit required to set it up each time.

Reuse HashSets for actors entered/exited in CellTrigger & ProximityTr…
…igger.

Actors involved in the trigger are determined as actors move around near the trigger - and can be expensive in some maps. This allows us to avoid allocating new sets and the CPU hit required to set it up each time.
@pchote

pchote approved these changes Mar 21, 2018

@pchote pchote merged commit 986025c into OpenRA:bleed Mar 21, 2018

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@RoosterDragon RoosterDragon deleted the RoosterDragon:trigger-reuse-set branch Mar 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.