Stack-allocated collections

alloca and ManagedBuffer are different things nowadays, the easiest way to get a stack allocation now is to just call withUnsafeTemporaryAllocation(of:capacity:_:).

2 Likes