If we assume that id is unique it is sufficient to compare ships by their ids.
Question is, though, do we need it? I didn't look too much into code, but i assume mostly in Sunrider we're copying around references to ships or is there place where we need a actual comparison?
By default if there are no such methods Python compares objects by addresses
If we assume that id is unique it is sufficient to compare ships by their ids.
Question is, though, do we need it? I didn't look too much into code, but i assume mostly in Sunrider we're copying around references to ships or is there place where we need a actual comparison?
By default if there are no such methods Python compares objects by addresses