Packages for keyword “zero-allocation”
These packages are available as a package collection, usable in Xcode or SwiftPM.
InlineString
A proof-of-concept fixed-capacity UTF-8 inline string type for Swift, storing up to 16 bytes and supporting bitwise copy semantics.
swift-span-algorithms
Allocation-free algorithms for Swift’s Span, RawSpan, MutableSpan, and InlineArray, including search, comparison, trimming, chunk/window/split traversal, and pull-style cursors.
2 packages.