profan / smidig

some kind of game engine, with accompanying test code
MIT License
0 stars 0 forks source link

feature/intrusiveevent #106

Closed profan closed 8 years ago

profan commented 8 years ago

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.