瀏覽代碼

segment lib: update documentation

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51992 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 13 年之前
父節點
當前提交
73e9f0e043
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      lib/segment/segmentlib.dox

+ 5 - 3
lib/segment/segmentlib.dox

@@ -393,9 +393,11 @@ Performance of the <I>Segment Library</I> routines can be improved by
 about 10% if <B>srows, scols</B> are each powers of 2; in this case a
 faster alternative is used to access the segment file. An additional
 improvement can be achieved if <B>len</B> is also a power of 2. For
-highly random and scattered access to a large dataset, smaller segments,
-i.e. values for <B>srows, scols</B> of 32, 64, or 128 seem to provide
-better performance than e.g. srows = nrows / 4 + 1.
+scattered access to a large dataset, smaller segments, i.e. values 
+for <B>srows, scols</B> of 32, 64, or 128 seem to provide
+the best performance. Calculating segment size as a fraction of the 
+data matrix size, e.g. srows = nrows / 4 + 1, will result in very poor 
+performance, particularly for larger datasets.
 
 \section Loading_the_Segment_Library Loading the Segment Library