> But it's a lot slower than malloc

How would it be slower? Isn't it simply bumping the stack pointer?

Yah, brainfart, I meant faster. And yes, that's pretty much what it does.