this brings down the first frame time from 2.0 sec. to something at 0.7
This looks good, do you think counters should also be added for invalidate and destruct?
Mhmm I am doing other tests where no special counting is needed but you can directly ask which events are registered in O(1) and insertion is the same
So then should this be merged or are you doing another change?
Thid can be merged :) AS this makes things a lot faster