Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.6
-
None
-
None
Description
The constructors for CIDR format and (address, mask) format both use the same calculate() method. This assumes the input is in CIDR format, which means that the constructor which handles (address, mask) format has to convert the strings to binary and then recreate the CIDR format.
This is wasteful.