Rand Stats

Net::Netmask::Fast

zef:Zer0-Tolerance
{{$NEXT}}

0.1.0  2026-03-28
  - Initial release
  - Full Net::Netmask-compatible API:
    address/base/first, netmask/mask, hostmask, broadcast/last, bits, size, cidr, desc
  - Five input forms: CIDR, dotted-decimal mask, space-separated, two-arg, named params
  - IP range constructor forms: "a.b.c.d - e.f.g.h", "a.b.c.d-e.f.g.h", :first/:last
    Returns a Seq of covering CIDR blocks; arbitrary ranges use greedy decomposition
  - range() — returns (first-ip, last-ip) two-element List
  - contains() — zero-allocation integer membership test
  - match() — returns index position within network or False
  - enumerate(:bit, :nets) — lazy sub-network enumeration
  - nth() — O(1) direct address/subnet access
  - next/succ, prev/pred — adjacent network navigation
  - sortkey/sk + exported multi sort()
  - Int/Real/Numeric/Str/gist coercions
  - Exported ip2dec() and dec2ip() utility subs
  - Native integer storage with NQP primitives for performance