diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-08-15 22:44:20 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-08-16 01:25:08 -0700 |
commit | 6ffa68421a2804c957ca5661e97b35541378ac72 (patch) | |
tree | 073cabb094efa7ace67a2a52dfc3d75655fbb358 /src/iou.h | |
parent | cc4882e50e33da8beceb0546916d1050e9efb7f2 (diff) |
iou: allocate ops in exponentially growing chunks
and keep them around on free lists, ops only get actually freed
in iou_free() now.
trivial optimization, but thunk.h needs similar love before any
libiou-heavy program using thunk.h as-is won't have profiles
dominated by malloc/free overheads.
Diffstat (limited to 'src/iou.h')
0 files changed, 0 insertions, 0 deletions