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

Store value of packet in type switch #32

Closed
wants to merge 2 commits into from
Closed

Store value of packet in type switch #32

wants to merge 2 commits into from

Conversation

glynternet
Copy link
Contributor

Store the value of packet in the type switch avoids multiple expensive type assertions per message.

@hypebeast
Copy link
Owner

Is this change already part of your other PR?

@glynternet
Copy link
Contributor Author

I've just resolved the conflicts and it does indeed look like I snuck it in with the other one. So I'll close this.

@glynternet glynternet closed this Dec 2, 2019
@glynternet glynternet deleted the gh/reduce-type-assertions branch December 2, 2019 21:57
@hypebeast
Copy link
Owner

Perfect. Thanks :)

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.

2 participants