Josh194 / FMCB

A platform that allows the linking of multiple applications/games together in various ways.
GNU General Public License v3.0
2 stars 1 forks source link

Optimize client database for large client counts #48

Open Josh194 opened 3 years ago

Josh194 commented 3 years ago

Finish the final optimizations for the LinkedArray class and improve it's usage. Finished implementation will be able to add/remove clients extremely quickly no matter the current number, will be near immune to fragmentation, and will be able to iterate over those clients at near array speeds. As a general design layout, the class uses blocks of dynamically allocated memory to house contiguous linked lists (at least for empty space management) of data which are occasionally defragmented into available blocks.