Y
Hacker News
new
|
ask
|
show
|
jobs
by
jstimpfle
247 days ago
No. Look up Arenas. In general group allocations to avoid making a mess.
3 comments
rictic
247 days ago
If you send a task off to a work queue in another thread, and then do some local processing on it, you can't usually use a single Arena, unless the work queue itself is short lived.
link
jenadine
247 days ago
I don't see how arenas solve the problems.
link
jstimpfle
247 days ago
You group things from the same context together, so you can free everything in a single call.
link
estimator7292
247 days ago
No. Arenas are not a general case solution. Look it up
link