Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
imtringued
on Jan 10, 2020
|
parent
|
context
|
favorite
| on:
Copying data is wasteful, mutating data is dangero...
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:
[0] HTTP requests, video frames, etc