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

Minor statemachine performance improvments #676

Merged
merged 1 commit into from
May 13, 2017

Conversation

PabstMirror
Copy link
Contributor

Tag @BaerMitUmlaut

Diff is a mess because of the removal of an if statement, this just does 2 minor things

  • Use addMissionEventHandler ["EachFrame" which has slightly less overhead over a PFEH
  • Add the statemachine to GVAR(stateMachines) when adding an initial state, which lets us drop an if statement in clockwork.

@PabstMirror PabstMirror added this to the 3.4 milestone May 8, 2017
@Killswitch00 Killswitch00 merged commit 943ea0f into master May 13, 2017
@Killswitch00 Killswitch00 deleted the minorStatemachinePerf branch May 20, 2017 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants