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

Use AtomicIsize::get_mut where appropriate #346

Merged
merged 1 commit into from
Oct 15, 2023

Conversation

rj00a
Copy link
Contributor

@rj00a rj00a commented Oct 10, 2023

I noticed a few atomic loads and stores could be eliminated in entities.rs because mutable access to free_cursor is available.

Copy link
Owner

@Ralith Ralith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

@Ralith Ralith merged commit 1964e90 into Ralith:master Oct 15, 2023
5 checks passed
@rj00a rj00a deleted the atomic-get-mut branch October 15, 2023 23:35
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.

2 participants