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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to