d5002b9538
performance: run v4 + v6 in parallel with rayon, update cargo
2023-12-12 03:50:15 -08:00
9aaf63b17a
performance: we keep v4/v6 separate, use underlying per-af methods
...
A modest performance gain of ~5% is achieved by avoiding some copies and
indirection.
2023-12-12 03:46:21 -08:00
09da703b20
Specialize on truncate arg for ~5% speedup in truncate case
...
Use a generic param to specialize on the truncate arg to avoid needing
to check it and/or host bits if we'll end up accepting it regardless
when truncate is enabled.
Refactor host bits check into iputils.
2023-11-16 21:33:59 -08:00
56ad01e74c
Remove unnecessary allocations in error handling
2023-11-16 18:59:29 -08:00
1336cbd7ed
New implementation that does not depend on iprange crate
2023-10-21 14:34:24 -07:00
675cda945f
Be more idiomatic
2023-03-20 17:46:00 -07:00
498c509e70
Use Display trait for printing
2023-03-19 12:20:56 -07:00
8034822ec8
More refactoring, add tests, aggregate6 compatibility
2023-03-18 21:37:13 -07:00
d8b48aba9a
Refactoring & compatibility with aggregate6 options
2023-03-18 11:44:41 -07:00