[gs-cvs] rev 8851 - trunk/gs/src
ray at ghostscript.com
ray at ghostscript.com
Thu Jul 17 13:11:52 PDT 2008
Author: ray
Date: 2008-07-17 13:11:52 -0700 (Thu, 17 Jul 2008)
New Revision: 8851
Modified:
trunk/gs/src/gxpcmap.c
Log:
Increase the default threshold for using the (much slower) pattern clist accumulator.
The 32Mb threshold is tolerable for most host systems and this can be modified during
the build with -DMAX_PATTERN_BITMAP_SIZE=___ (possibly using the makefile XCFLAGS).
Only embedded systems may want to set this to a smaller value.
This is a temnporary workaround for bug 689966. Improving the performance of the
pattern clist accumulator will be considered a future enhancement.
Modified: trunk/gs/src/gxpcmap.c
===================================================================
--- trunk/gs/src/gxpcmap.c 2008-07-17 17:40:34 UTC (rev 8850)
+++ trunk/gs/src/gxpcmap.c 2008-07-17 20:11:52 UTC (rev 8851)
@@ -174,7 +174,7 @@
}
#ifndef MAX_BITMAP_PATTERN_SIZE /* Allow override with XCFLAGS */
-# define MAX_BITMAP_PATTERN_SIZE (1024*1024)
+# define MAX_BITMAP_PATTERN_SIZE (32*1024*1024) /* default 32Mb tolerable for most hosts */
#endif
/* Allocate a pattern accumulator, with an initial refct of 0. */
More information about the gs-cvs
mailing list