First of all, i super love this, it works like a charm
I`v noticed a significant CPU usage/tick rate consupmtion (70% of all tick rate in my project).
After investigation of the source code, ive noticed that pollLoop is checking if its got updates to process in every 10 seconds, this is caursing CPU usage and Memory to never get freed.
a good alternative where to make it Event-driven (via sockets for example). so if the sockets hits an event update, pollLoop gets triggerd.
also the ExtractArchive function is called every time on startup wich is caursing also a little load (i think caching or implementing would be one way)
TLDR;
change the calling of pollLoop function to an event based reather then every 10ms
ExtractArchive calling only once and then storing it
First of all, i super love this, it works like a charm
I`v noticed a significant CPU usage/tick rate consupmtion (70% of all tick rate in my project).
After investigation of the source code, ive noticed that pollLoop is checking if its got updates to process in every 10 seconds, this is caursing CPU usage and Memory to never get freed.
a good alternative where to make it Event-driven (via sockets for example). so if the sockets hits an event update, pollLoop gets triggerd.
also the ExtractArchive function is called every time on startup wich is caursing also a little load (i think caching or implementing would be one way)
TLDR;
change the calling of pollLoop function to an event based reather then every 10ms
ExtractArchive calling only once and then storing it