proof88 / PRooFPS-dd

PRooFPS-dd
https://www.facebook.com/whiskhyll
GNU General Public License v3.0
4 stars 1 forks source link

RFR: OPT: EventLister Memory Usage #330

Open proof88 opened 3 months ago

proof88 commented 3 months ago

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.