Skip to content

Conversation

@mumbleskates
Copy link
Contributor

In the evet that a group may be awaited many times, calling runtime.SetFinalizer(..., nil) every single time may accrue nontrivial overhead. If we only make that call the first time the group is awaited it has the same effect but is much cheaper in that case.

@mumbleskates mumbleskates merged commit e720cd8 into main Sep 17, 2025
8 checks passed
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.

5 participants