3 ms·
> there is only one allocation and deallocation in the entire program. > Short-run programs are even easier. You just never deallocate and then exit(0). What'
by card_zero 1y ago
> there is only one allocation and deallocation in the entire program.
> Short-run programs are even easier. You just never deallocate and then exit(0).
What's special about "short-run"? If you deallocate only once, presumably just before you exit, then why do it at all?
- free_bip 1y agoJust because there's only one deallocation doesn't mean it's run only once. It would likely be run once every time the thread it belongs to is deallocated, like when it's finished processing a request.