std::vector<size_t> Map_InsDelFind_LF::get_load_factors()
{
- cds_test::config const& cfg = get_config( "map_insdelfind" );
+ cds_test::config const &cfg =
+ get_config("sequential_real_map_insdelfind");
- s_nMaxLoadFactor = cfg.get_size_t( "MaxLoadFactor", s_nMaxLoadFactor );
- if ( s_nMaxLoadFactor == 0 )
- s_nMaxLoadFactor = 1;
+ s_nMaxLoadFactor = cfg.get_size_t("MaxLoadFactor", s_nMaxLoadFactor);
+ 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;
+ return lf;
}
#ifdef CDSTEST_GTEST_INSTANTIATE_TEST_CASE_P_HAS_4TH_ARG