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

Tweak treiber stack #125

Merged
merged 1 commit into from
Feb 17, 2024
Merged

Tweak treiber stack #125

merged 1 commit into from
Feb 17, 2024

Conversation

polytypic
Copy link
Contributor

@polytypic polytypic commented Jan 26, 2024

This PR tweaks the Treiber stack implementation using a GADT to avoid duplicating the shared code for pop and pop_opt reducing size of generated code slightly. Also implements a few other usual tweaks such as adding padding to avoid false sharing.

@polytypic polytypic force-pushed the tweak-treiber-stack branch from e7030da to a272179 Compare January 26, 2024 20:55
@polytypic polytypic marked this pull request as ready for review January 26, 2024 20:58
@polytypic polytypic requested a review from a team January 27, 2024 08:04
@polytypic polytypic force-pushed the tweak-treiber-stack branch from a272179 to 777e03b Compare January 27, 2024 22:41
@polytypic polytypic force-pushed the tweak-treiber-stack branch 2 times, most recently from 4e13c33 to d9bf958 Compare February 17, 2024 15:53
@polytypic polytypic merged commit 8937436 into main Feb 17, 2024
6 checks passed
@polytypic polytypic deleted the tweak-treiber-stack branch February 17, 2024 17:19
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