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

We shouldn't update variables that don't have changed callbacks and aren't being used #57

Open
JonnyOThan opened this issue Jan 10, 2023 · 0 comments
Labels
performance Optimization to make it faster

Comments

@JonnyOThan
Copy link
Collaborator

Under the current architecture, every variable that has been instantiated gets updated every frame. But sometimes these variables don't need to be kept up to date - like if you turn on the map screen and then turn it off again, those variables will stick around.

Probably need a system that keeps track of the last time that each variable was evaluated.

@JonnyOThan JonnyOThan added the performance Optimization to make it faster label Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Optimization to make it faster
Projects
None yet
Development

No branches or pull requests

1 participant