]> granicus.if.org Git - postgis/commitdiff
Comment on methodology behind tree node merging
authorPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 11 Jul 2012 19:33:00 +0000 (19:33 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 11 Jul 2012 19:33:00 +0000 (19:33 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10045 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeodetic_tree.c

index 3bab17cc0d838ec8a3feeda44af8e98d2492c7d5..5f236c957851f724228fd3bc8508dcf385a21463 100644 (file)
@@ -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;