Swift-span-algorithms — allocation-free algorithms over Span / RawSpan
Swift Forums
Swift-span-algorithms — allocation-free algorithms over Span / RawSpan
Repo: Dave861/swift-span-algorithms SPI Releases: swiftpackageindex.com/Dave861/swift-span-algorithms Zero dependencies, Apache-2.0, macOS 13 deployment floor for the Span/RawSpan surface, 181 tests. Why Span is ~Escapable, so it can't conform to Collection or Sequence and none of the stdlib's generic algorithms come along for free. In practice everyone re-derives split, firstRange(of:) and trimming by hand. Wrote this so you don't have to. What are the sub-results? chunks/windows/split clas...
Repo: Dave861/swift-span-algorithms SPI Releases: swiftpackageindex.com/Dave861/swift-span-algorithms Zero dependencies, Apache-2.0, macOS 13 deployment floor for the…
0 comments
No comments yet.