From 52ac59242245ab3914a752f2d58a4d00f7d0657e Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 25 Oct 2008 13:51:47 +0000 Subject: (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) --- docs/landscape_grid.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/landscape_grid.html') diff --git a/docs/landscape_grid.html b/docs/landscape_grid.html index 5f28a85eb..8ace41304 100644 --- a/docs/landscape_grid.html +++ b/docs/landscape_grid.html @@ -157,7 +157,7 @@ the array so you can quickly see what is used and what is not. road depot -inherit- -inherit- - OOOO OOOO OOOO OOOO + -inherit- XOOO OOOO OOOO OOOO XXOO OOXX -- cgit v1.2.3-70-g09d2