Hacker News new | past | comments | ask | show | jobs | submit login

I use a double-ended stack allocator for most allocations in personal C projects. The second end adds a significant amount of flexibility; temporary allocations can accumulate at one end of the stack without preventing a longer-lasting allocation from being made later (yet before the temporary allocations can be freed) on the other end.



Oh that's also great! Thanks for the tip, I'll have to incorporate it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: