moonip
bench

Explorer · the library, compiled

Take one
apart.

Four benches. Every number below is computed by this package built to JavaScript and imported by the page — no rule is re-implemented in the browser, and nothing here is a screenshot.

00 · read

An address

parse · encode · reverse_pointer · classification

…
01 · split

A block, cut down

Prefix::subnets(bits=…)

length /26
02 · join

A range, joined up

summarize(first, last)

03 · collapse

A set, collapsed

collapse(blocks) — comma separated, any two families

note A block written with host bits still stands for its block, and the two families are collapsed separately, IPv4 first — a mix has no single order.

top top