# HG changeset patch # User rubidium # Date 1224942707 0 # Node ID 801e5451f0ca7c5dfba74a61d37203fa34dbe5c4 # Parent 9c6717bac8a19f24dd98ecd27187edc0ac7577ea (svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus) diff -r 9c6717bac8a1 -r 801e5451f0ca docs/landscape.html --- a/docs/landscape.html Sat Oct 25 10:26:23 2008 +0000 +++ b/docs/landscape.html Sat Oct 25 13:51:47 2008 +0000 @@ -513,6 +513,7 @@