Skip to content

Remove unused previous state in AI StateMachine#21476

Merged
PunkPun merged 1 commit into
OpenRA:bleedfrom
RoosterDragon:ai-state-perf
Jul 8, 2024
Merged

Remove unused previous state in AI StateMachine#21476
PunkPun merged 1 commit into
OpenRA:bleedfrom
RoosterDragon:ai-state-perf

Conversation

@RoosterDragon

Copy link
Copy Markdown
Member

The StateMachine offered a feature to remember the previous state and allow reverting to it. However this feature is unused. Remove it to allow the previous states to be reclaimed by the GC earlier.

Fixes #18818

The StateMachine offered a feature to remember the previous state and allow reverting to it. However this feature is unused. Remove it to allow the previous states to be reclaimed by the GC earlier.

@PunkPun PunkPun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PunkPun PunkPun merged commit b316892 into OpenRA:bleed Jul 8, 2024
@PunkPun

PunkPun commented Jul 8, 2024

Copy link
Copy Markdown
Member

changelog

@RoosterDragon RoosterDragon deleted the ai-state-perf branch July 8, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance waste in "FuzzyStateMachine.ChangeState" used in all squad states

2 participants