commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Commented] (NET-556) Make SubnetInfo.isInRange(int) public
Date Tue, 14 Oct 2014 13:30:34 GMT


Sebb commented on NET-556:

Good idea. Applied:

NET-556 Make SubnetInfo.isInRange(int) public


> Make SubnetInfo.isInRange(int) public
> -------------------------------------
>                 Key: NET-556
>                 URL:
>             Project: Commons Net
>          Issue Type: Wish
>            Reporter: Andy Rosa
> I have 20-30 sub-nets and i need to check whether some IP belong to one of them or not,
and i need to do it for each requests. In case of using SubnetInfo.isInRange(String) IP will
be parsed up to 30 times per each request. Much more better for performance parse IP once
and just call SubnetInfo.isInRange(int) for each Subnet.

This message was sent by Atlassian JIRA

View raw message