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

replace string with netip.AddrPort #244

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Conversation

imgk
Copy link

@imgk imgk commented Dec 5, 2022

No description provided.

@donghaoahahahah

This comment was marked as spam.

@riobard
Copy link

riobard commented Jan 26, 2023

May I ask what's the pros and cons of using netip in this case?

@imgk imgk closed this Jun 4, 2024
@riobard riobard reopened this Oct 20, 2024
@riobard riobard merged commit e82e917 into shadowsocks:master Oct 20, 2024
@riobard
Copy link

riobard commented Oct 20, 2024

@imgk Thanks very much for the PR. Now I get that using netip.AddrPort could also help reduce memory allocation in the hot path.

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.

4 participants