pub fn ensureTotalStackCapacity(self: *@This(), height: usize) Allocator.Error!void self: *@This()height: usize316
317
318pub fn ensureTotalStackCapacity(self: *@This(), height: usize) Allocator.Error!void {
try self.stack.ensureTotalCapacity(height);
}
Pre allocate memory to hold the given number of nesting levels.
stackHeight()up to the given number will not cause allocations.