From a14ad77a36c836fd3f6940eadeb8161e7ad02f92 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-54-g00ecf