summaryrefslogtreecommitdiff
path: root/thunk_h
AgeCommit message (Collapse)Author
2021-08-17thunk_h: bump submodule for and use thunk_free()Vito Caputo
thunk.h got some rudimentary environment caching, and in the process introduced thunk_free(). Update the submodule and replace the bare free(closure) callsites with thunk_free(closure). This should help reduce the amount of malloc/free hammering in jio, though there are still quite a few allocations for object payloads in e.g. report-entry-arrays, and the object header space is allocated as a thunk payload which doesn't get environment caching yet.
2020-11-25thunk_h: add thunk_h submoduleVito Caputo
thunk_h makes using closure-esque callbacks in C somewhat convenient.
© All Rights Reserved