Update: libcds WT, empty texts in bitv.
[SXSI/TextCollection.git] / testTextCollection.cpp
index 39377c5..dfa618e 100644 (file)
@@ -37,9 +37,9 @@ int main()
   string str;
   uchar* data;
   int i = 0 ,j = 0;
-  int heap_base = HeapProfiler::GetHeapConsumption (5); // Avoid small samplerates ;)
+  int heap_base = HeapProfiler::GetHeapConsumption();
   std::cerr << "Initial heap usage : " << heap_base << "\n";
-  TextCollection *csa = TextCollection::InitTextCollection();
+  TextCollection *csa = TextCollection::InitTextCollection(5);  // Avoid small samplerates ;)
   heap_base = HeapProfiler::GetHeapConsumption ();
   std::cerr << "Heap usage after InitTextCollection : " << heap_base << "\n";