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

enh: 35% faster is_valid_ip() when fast=1 #519

Merged
merged 2 commits into from
Jan 3, 2025
Merged

Conversation

speed47
Copy link
Collaborator

@speed47 speed47 commented Jan 3, 2025

No description provided.

@speed47 speed47 added tests:full Launch tests (multi-distros multi-versions, w/ cc) tests:freebsd Launch FreeBSD tests only labels Jan 3, 2025
@speed47 speed47 force-pushed the faster_is_valid_ip branch from f0b342e to 20224a0 Compare January 3, 2025 11:18
deathiop
deathiop previously approved these changes Jan 3, 2025
To avoid confusion, we now use 'subnet' to talk about a subnet
represented with the CIDR notation, such as 10.0.0.0/8.
In in that case:

- 10.0.0.0/8 is a 'subnet'
- 10.0.0.0 is the 'prefix'
- 8 is the 'prefix length', or by extension the 'subnet length'

Use these words everywhere in the code and documentation for clarity.
@speed47 speed47 merged commit 43d5e8e into master Jan 3, 2025
15 checks passed
@speed47 speed47 deleted the faster_is_valid_ip branch January 3, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests:freebsd Launch FreeBSD tests only tests:full Launch tests (multi-distros multi-versions, w/ cc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants