The EventManager now uses an intrusive linked list in order to keep track of the per-frame allocated events, netting us a roughly a 2x win in execution time for deferred events.
Can probably be improved as delegates currently stored as array of pointers to arrays, indirection probably a bit costly. Investigation to follow, merging this for now.
The EventManager now uses an intrusive linked list in order to keep track of the per-frame allocated events, netting us a roughly a 2x win in execution time for deferred events.
Can probably be improved as delegates currently stored as array of pointers to arrays, indirection probably a bit costly. Investigation to follow, merging this for now.