Skip to content

swift-cidr 0.2.0

Latest

Choose a tag to compare

@camunro camunro released this 28 Jun 04:57
89b9cdb

Highlights

This release adds direct UTF-8 formatting APIs for high-volume CIDR output workflows and refreshes benchmark coverage for the recent formatter performance work.

What's New

  • Added direct UTF-8 output APIs for IPv4 and IPv6 CIDR values.
  • Added public maximum UTF-8 capacity constants for caller-owned buffers.
  • Added compressed IPv6 CIDR UTF-8 writing support.
  • Updated CIDRNIO IPv6 compressed address writing to use the shared UTF-8 formatting path.
  • Added benchmark coverage for raw IPv6 formatting, bulk CIDR output, IPv4 formatter hot paths, and slash-prefix writing.

Performance

  • Improved IPv4 string formatting hot-path performance.
  • Added raw/direct UTF-8 benchmark measurements for bulk ISP-scale output workflows.
  • Refreshed Benchmarks/PERFORMANCE.md with 2026-06-28 measurements.
  • Documented benchmark filter semantics and added ./scripts/benchmarks.sh list.

Compatibility

This is a backwards-compatible feature release. Existing APIs remain supported.