src/hg/lib/wigDataStream.c 1.87
1.87 2009/12/21 23:09:17 hiram
Raising the HUGE_LIMIT to 4280000000 caused a very large slow down in some custom tracks. Doesn't make any sense.
Index: src/hg/lib/wigDataStream.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/wigDataStream.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -b -B -U 4 -r1.86 -r1.87
--- src/hg/lib/wigDataStream.c 21 Dec 2009 18:37:10 -0000 1.86
+++ src/hg/lib/wigDataStream.c 21 Dec 2009 23:09:17 -0000 1.87
@@ -10,9 +10,11 @@
#include "customTrack.h"
/* size of memory to work with during wiggle data fetch operations,
* ~4 Gb is good enough for about 750,000,000 bases */
-#define HUGE_LIMIT 4280000000
+/* raising this number has a big effect and slows down some tracks ?
+ * namely, psl/bed custom tracks, this doesn't make any sense */
+#define HUGE_LIMIT 2100000000
static char const rcsid[] = "$Id$";
/* Routines that are not strictly part of the wigDataStream object,