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

Skip unnecessarily comparing strings for Mumble identity #42

Merged
merged 2 commits into from
Mar 16, 2020

Conversation

Archomeda
Copy link
Owner

Closes #39.

Added a boolean that indicates whether the Mumble identity has already been compared to the previous one.
Without this boolean, requesting an identity field will always compare the JSON strings to see if the identity has been updated since last time. This causes an overhead when we can just set a boolean that will be reset when it's actually updated and we need to check the strings again.

@Archomeda Archomeda added Area: Mumble Link Related to the Mumble Link API Type: Refactor An improvement to the project that doesn't necessarily add a new features labels Mar 16, 2020
@Archomeda Archomeda merged commit 22f60ff into 0.9 Mar 16, 2020
@Archomeda Archomeda deleted the refactor/optimize-mumble-link-json-parsing branch March 16, 2020 19:19
@Archomeda Archomeda mentioned this pull request Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Mumble Link Related to the Mumble Link API Type: Refactor An improvement to the project that doesn't necessarily add a new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant