Remove _tmp_alloc runtime function
Reuse event_t objects where possible