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

Optimization for the monster/npc intelligence #339

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

sven-n
Copy link
Member

@sven-n sven-n commented Apr 3, 2023

We can turn the timer off, when there is no observer around.
In my debugger, the memory consumption increased a lot (when using the server GC), because a lot of small Tasks were created. If we can prevent them from being created, it also saves some CPU.

We can turn the timer off, when there is no observer around.
In my debugger, the memory consumption increased a lot (when using the server GC), because a lot of small Tasks were created. If we can prevent them from being created, it also saves some CPU.
@sven-n sven-n merged commit b8ec349 into master Apr 3, 2023
@sven-n sven-n deleted the performance-ai branch April 3, 2023 20:12
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.

1 participant