Skip to content

Conversation

@Unispezi
Copy link

@Unispezi Unispezi commented Oct 1, 2018

  • bigInts now held in fields to reduce number of short-lived objects created by isInRange()
  • unused field this.cidr removed
  • new isInRange(InetAddress) so you can avoid string parsing if you already have an InetAddress
  • early return in isInRange() to reduce number of comparison for out-of-range addresses

- bigInts now held in fields to reduce number of short-lived objects created by isInRange()
- unused field this.cidr removed
- new isInRange(InetAddress) so you can avoid string parsing if you already have an InetAddress
- early return in isInRange() to reduce number of comparison for out-of-range addresses
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