Hi folks,
in many places we have (semantically) bi-directional relationships, eg. diplomatic relationships, etc, which are currently implemented as lists on only one side of the relationship, so when coming from the other side we'll end up in full list scans. (eg. see ServerPlayer::csKill()) What do you think about implementing an index structure which can be looked up from both sides (maybe double hashtables, etc) ? --mtx ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi _______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers