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

revert directContext #581

Merged
merged 1 commit into from
Feb 10, 2021
Merged

revert directContext #581

merged 1 commit into from
Feb 10, 2021

Conversation

pkieltyka
Copy link
Member

@pkieltyka pkieltyka commented Feb 10, 2021

I've done some testing, and I cannot produce any race condition "in practice", however, under go test -race, a race is flagged and so I've removed this community submission which offered a 1 allocation performance optimization, but also introduced this warning.

related to: #576 and #555

@bouk
Copy link
Contributor

bouk commented Feb 10, 2021

Huh, interesting. I wonder why this happens!

Copy link
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

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

LGTM

@pkieltyka pkieltyka merged commit 721b475 into master Feb 10, 2021
@pkieltyka pkieltyka deleted the revert-opt branch February 10, 2021 19:31
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