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

ruleguard: remove matchData allocations #413

Merged
merged 1 commit into from
Oct 1, 2022

Conversation

quasilyte
Copy link
Owner

Do not use interface type for matchData since it caused heap allocations in both match and reject cases.

Do not use interface type for matchData since it caused
heap allocations in both match and reject cases.
@quasilyte quasilyte merged commit 92ca799 into master Oct 1, 2022
@quasilyte quasilyte deleted the quasilyte/remove_matchdata_allocs branch October 1, 2022 11:51
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