Open LeftistTachyon opened 6 years ago
Not much lag anymore
It's back
I recommend resizing data structures to the max, for example, when allocating a list of Bishop moves, you should specify the capacity of the underlying ArrayList to be the maximum possible number of moves a Bishop may take at any time. By "moves" I mean tiles where said Bishop can move to during a turn. Best of luck bro!
Time for optimization