Ticket #60 (closed task: fixed)
Store XML Game Components with maps rather than lists
|Reported by:||knowknowledge||Owned by:|
The XML Game Component classes: Alliances, Engines, Models, Planets, Weapons.
All of these classes parse an xml file and generate a set of objects. They all use GetX() lookup functions, but the lookup does an O(n) search for the final object.
Changing the internal storage to a map rather than a list would speed up lookups. It would also make the external and internal interfaces match.