4 ms·
No. Look up Arenas. In general group allocations to avoid making a mess.
by jstimpfle 1y ago
No. Look up Arenas. In general group allocations to avoid making a mess.
- rictic 1y agoIf 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.
- jenadine 1y agoI don't see how arenas solve the problems.
- jstimpfle 1y agoYou group things from the same context together, so you can free everything in a single call.
- estimator7292 1y agoNo. Arenas are not a general case solution. Look it up