Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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

Search: