upenn-acg/ProcessCache

Make execution structs per task instead of fully global

Closed this issue · 0 comments

krs85 commented

Right now all the execution structs are housed in the same global structure, and every time an event happens, the global structure is accessed. Instead, we want to have an execution struct per task. Then, we only have to access the global structure to add the execution struct, all changes to the struct will also be reflected in the global struct thanks to reference counting and interior mutability.