Kaynağa Gözat

bigger segments mean less i/o; module was spending 25-33% of time in the kernel; result of patch: module runs about >25-33% faster (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35796 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 yıl önce
ebeveyn
işleme
10abcce89a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      raster/r.surf.contour/main.c

+ 1 - 1
raster/r.surf.contour/main.c

@@ -109,7 +109,7 @@ int main(int argc, char *argv[])
     nrows = G_window_rows();
     ncols = G_window_cols();
     i_val_l_f = nrows + ncols;
-    cseg_open(&con, 16, 16, 8);
+    cseg_open(&con, 256, 256, 64);
     cseg_read_cell(&con, con_name, con_mapset);
     alt_row = (CELL *) G_malloc(ncols * sizeof(CELL));
     if (fast_mode) {