In my game I have a weapons store with 15 types of weapons (maybe more in the future).
I want to use a dynamic array for the player: say he buys a weapon for the first time the array size is 1, so the
array size increases according to each weapon he buys and also the array size decrements for each weapon
the player ends it's stock.
So my question is if the usage of such a dynamic array improves game performance or should I stick with a fixed array size ?