On 4/24/2015 10:27 AM, deadalnix wrote:
On Friday, 24 April 2015 at 08:16:40 UTC, Walter Bright wrote:
On 4/24/2015 12:23 AM, John Colvin wrote:
Except of course that alloca is a lot cheaper than malloc/free.

That's not necessarily true. But in any case, go ahead and use it if you like.
Just prepare to benchmark and be disappointed :-)

It is, unless one go the bump the pointer/never free road.

I wouldn't assume that. A large array on the stack will have memory caching 
issues.

Reply via email to