src/lib/bbiRead.c 1.18
1.18 2010/05/29 22:26:41 kent
Reducing amount of zoom oversampling, which speeds up 100k views a fair bit.
Index: src/lib/bbiRead.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/bbiRead.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -b -B -U 4 -r1.17 -r1.18
--- src/lib/bbiRead.c 20 Nov 2009 17:11:16 -0000 1.17
+++ src/lib/bbiRead.c 29 May 2010 22:26:41 -0000 1.18
@@ -550,13 +550,13 @@
if (start >= end)
return result;
bzero(summary, summarySize * sizeof(summary[0]));
-/* Figure out what size of data we want. We actually want to get 4 data points per summary
+/* Figure out what size of data we want. We actually want to get 2 data points per summary
* value if possible to minimize the effect of a data point being split between summary pixels. */
bits32 baseSize = end - start;
int fullReduction = (baseSize/summarySize);
-int zoomLevel = fullReduction/4;
+int zoomLevel = fullReduction/2;
if (zoomLevel < 0)
zoomLevel = 0;
/* Get the closest zoom level less than what we're looking for. */