News for hackers. Stuff that matters.
Re:Copying data is wasteful, mutating data is dangerous by imtringued on Friday January 10, 2020 @06:05AM (#22010134)
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

There are no comments on this comment yet.