3 ms·
This isn't an optimization. It is pretending that C is like managed code and using the stack as a glorified garbage collector to avoid the responsibility of fre
by kevin_thibedeau 8y ago
This isn't an optimization. It is pretending that C is like managed code and using the stack as a glorified garbage collector to avoid the responsibility of freeing memory. He did the same with his alloca() misuse. I would hope that they turn on -Wvla to find any more of these landmines.