Procházet zdrojové kódy

add TODO comment

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46457 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz před 14 roky
rodič
revize
3111f08193
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      lib/vector/Vlib/bridges.c

+ 2 - 0
lib/vector/Vlib/bridges.c

@@ -142,6 +142,8 @@ remove_bridges(struct Map_info *Map, int chtype, struct Map_info *Err)
 				    GV_BOUNDARY);
 
 	    /* Add this line to the list */
+	    /* TODO: Vect_val_in_list() and Vect_list_append() behave O(n)
+	     * change to O(log n) */
 	    if (Vect_val_in_list(CycleList, abs(next_line)))	/* other side -> bridge chain */
 		Vect_list_append(BridgeList, abs(next_line));
 	    else