Only tests with max load factor for parallel maps
authorPeizhao Ou <peizhaoo@uci.edu>
Thu, 15 Feb 2018 08:24:14 +0000 (00:24 -0800)
committerPeizhao Ou <peizhaoo@uci.edu>
Thu, 15 Feb 2018 08:24:14 +0000 (00:24 -0800)
test/stress/map/insdelfind/map_insdelfind.cpp

index 9594011..5596ae4 100644 (file)
@@ -192,9 +192,10 @@ namespace map {
         if ( s_nMaxLoadFactor == 0 )
             s_nMaxLoadFactor = 1;
 
-        std::vector<size_t> lf;
-        for ( size_t n = 1; n <= s_nMaxLoadFactor; n *= 2 )
-            lf.push_back( n );
+        // Only test with max load factor.
+      std::vector<size_t> lf = {s_nMaxLoadFactor};
+//      for (size_t n = 1; n <= s_nMaxLoadFactor; n *= 2)
+//        lf.push_back(n);
 
         return lf;
     }