From: Paul Ramsey Date: Wed, 11 Jul 2012 19:33:00 +0000 (+0000) Subject: Comment on methodology behind tree node merging X-Git-Tag: 2.1.0beta2~810 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34c7e98abcf75c9d479f8b32e4ac9b8fddc81191;p=postgis Comment on methodology behind tree node merging git-svn-id: http://svn.osgeo.org/postgis/trunk@10045 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwgeodetic_tree.c b/liblwgeom/lwgeodetic_tree.c index 3bab17cc0..5f236c957 100644 --- a/liblwgeom/lwgeodetic_tree.c +++ b/liblwgeom/lwgeodetic_tree.c @@ -334,6 +334,8 @@ static CIRC_NODE* circ_nodes_merge(CIRC_NODE** nodes, int num_nodes) { int num_children, num_parents, j; + /* This assumption is actually hard coded into the algorithm below */ + /* Quite a few changes needed to increase node size */ static int node_size = 2; num_children = num_nodes;