pioneerspacesim/pioneer — pull request #1827 by jaj22 (2012-12-17 01:47:48+00:00)
Title: GetShipType() optimization

Make GetShipType() not lookup a map every time. Likely to be a big part of ship update cost.

Slightly hacky, and I'd rather not add more junk to Ship, but as ShipFlavour isn't a proper class at the moment, this is the easiest secure method.