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

Avoid with lock in some perf sensitive operations #733

Merged
merged 4 commits into from
Jul 19, 2023
Merged

Conversation

vyzo
Copy link
Collaborator

@vyzo vyzo commented Jul 19, 2023

With-lock is nice (and exception safe) but unfortunately it allocates a closure and does dynamic-wind; not the best of ideas if you care about perf.

@vyzo vyzo requested review from fare, ober and drewc July 19, 2023 07:13
@vyzo vyzo merged commit 9534010 into master Jul 19, 2023
@vyzo vyzo deleted the avoid-with-lock branch July 19, 2023 07:43
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