[GRASS-SVN] r51992 - grass/trunk/lib/segment

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 6 09:48:51 PDT 2012


Author: mmetz
Date: 2012-06-06 09:48:51 -0700 (Wed, 06 Jun 2012)
New Revision: 51992

Modified:
   grass/trunk/lib/segment/segmentlib.dox
Log:
segment lib: update documentation

Modified: grass/trunk/lib/segment/segmentlib.dox
===================================================================
--- grass/trunk/lib/segment/segmentlib.dox	2012-06-06 16:34:00 UTC (rev 51991)
+++ grass/trunk/lib/segment/segmentlib.dox	2012-06-06 16:48:51 UTC (rev 51992)
@@ -393,9 +393,11 @@
 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
 



More information about the grass-commit mailing list