Follow-up Comment #6, patch #3829 (project freeciv):
> Further, the identical road is always first in the integrators
> list, so that continuation on the same road is checked first
> when calculating move cost (which is expected to be the most
> common case, and for fast roads, the lowest cost
For shaving cycles it actually might make sense to order roads in the list
from lowest cost to highest. tile_move_cost_ptrs() could rely on that order to
break iteration as soon as it finds first integrating road.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3829>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev