Hacker News3h agoenergy 105

The Double Headed Stack Allocator

image: Hacker News

When programming high performance applications, such as video games, you learn neat tricks for writing fast code that makes the most of limited resources. Memory allocation is a huge topic for performance critical code that needs a variable amount of memory. When you hear "stack allocator" you might think of "alloca" which lets you allocate…

read the original at Hacker News →
This source publishes only a summary in its feed, so the full article lives at the outlet. The link above and below goes to the original.