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

Change internal State structures to be unsynchronized #1183

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

JPercival
Copy link
Contributor

  • The internal State object for the cql engine is not thread-safe, and not intended to be shared across threads
    • For example, the Stack is thread-specific
  • This PR changes the internal state to be totally unsynchronized since it'll only ever be used by one thread
  • ~5-10% performance boost on the Main suite

@JPercival JPercival merged commit 40a1b4f into master Aug 8, 2023
0 of 2 checks passed
@JPercival JPercival deleted the unsync-collections branch August 8, 2023 13:21
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.

3 participants