Hacker News new | ask | show | jobs
by agumonkey 2519 days ago
Do game devs write custom allocators ?
2 comments

The simplest allocation/deallocation pattern is to delete everything after the unit of work [0] has finished. The downside is that the "unit of work" has to be defined by your program.

[0] HTTP requests, video frames, etc

Almost always (for big budget ones).