I know just enough about programming to be dangerous, so please be gentle. I've created and released few simple apps for android and do some powershell scripting at work, but that's about the extent of my programming experience. I'll be using c# and XNA if that makes a difference.
If I need to keep track of ten thousand to several hundred thousand of the same object with a handful of variables each, what's a good way to handle that in a turn based strategy game? The game will need to loop through each object on each turn to check a few things.
List
and wait until you actually have something running before optimising. That way you'll know exactly what data you need and how it will be used. It's a bit hard to give good optimisation advice without that information. You'll also have a better idea if you actually need to optimise it at all - and whether your optimisations are actually working. \$\endgroup\$ – Andrew Russell Feb 16 '13 at 6:43