View Single Post
Mitchell
~lick~
Join Date: Mar 2010
Old 08-13-2019 , 17:14   Re: [TF2] Deathrun Redux 2019
Reply With Quote #14

"Redux 2019" but is the unsupported syntax..
Not to mention all the pointless StringMaps (Tries) it creates and never uses..
Some of the StringMaps are literally used to map numbers to sound paths via converting the number to string and using it as the key! Using a map in the place of an ArrayList seems a bit questionable.
Also noticed you store a bunch of things globally only to use it those variables once when the map starts.
Should I even say anything about the "OnGameFrame()" foward?

Things that have to iterate over all the players every game frame should be made with optimization for speed as much as possible. (Most of what is done in the frame forward could be done else where or with TF2 Attributes.)

Last edited by Mitchell; 08-13-2019 at 17:17.
Mitchell is offline