It should be changed to it doesnt really allocate memory on-the-fly.
Extra parameters should be specified to ctor.
For example, max string length, so it could be also allocated by ctor.
And I also think, we could use vector instead of deque, and removing an elem would not remove, just make the elem empty.
This is the original ticket for EventLister: https://github.com/proof88/PRooFPS-dd/issues/121
It should be changed to it doesnt really allocate memory on-the-fly. Extra parameters should be specified to ctor. For example, max string length, so it could be also allocated by ctor. And I also think, we could use vector instead of deque, and removing an elem would not remove, just make the elem empty.