The purpose of this is just a quick way to reset the length to recycle the buffer. The intended use is to repeatedly reuse the same ScopeBuffer inside a loop. Essentially, ScopeBuffer doesn't support extending the length because that would require more code to set those extended elements to T.init, and even if that code isn't executed it still puts pressure on the register allocator.