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

Avoid creating needless slices of IPs (fixes #6) #7

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jub0bs
Copy link

@jub0bs jub0bs commented Sep 4, 2024

This PR requires Go 1.23 or above.

I haven't written any benchmarks (to compare before and after) this change, but I expect at least a drop in the amount of allocations.

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