diff --git a/benchmark/unordered.cpp b/benchmark/unordered.cpp index d733b83..108bafb 100644 --- a/benchmark/unordered.cpp +++ b/benchmark/unordered.cpp @@ -181,14 +181,6 @@ struct fnv1a_hash: fnv1a_hash_impl< std::numeric_limits::digits > { #ifdef HAVE_MULXP_HASH -struct mulxp0_hash_ -{ - std::size_t operator()( std::string const& st ) const BOOST_NOEXCEPT - { - return mulxp0_hash( (unsigned char const*)st.data(), st.size(), 0 ); - } -}; - struct mulxp1_hash_ { std::size_t operator()( std::string const& st ) const BOOST_NOEXCEPT @@ -197,14 +189,6 @@ struct mulxp1_hash_ } }; -struct mulxp2_hash_ -{ - std::size_t operator()( std::string const& st ) const BOOST_NOEXCEPT - { - return mulxp2_hash( (unsigned char const*)st.data(), st.size(), 0 ); - } -}; - struct mulxp3_hash_ { std::size_t operator()( std::string const& st ) const BOOST_NOEXCEPT @@ -398,9 +382,7 @@ int main() test_hash_speed >( N * 16, v ); #endif #ifdef HAVE_MULXP_HASH - test_hash_speed( N * 16, v ); test_hash_speed( N * 16, v ); - test_hash_speed( N * 16, v ); test_hash_speed( N * 16, v ); test_hash_speed( N * 16, v ); test_hash_speed( N * 16, v ); @@ -437,9 +419,7 @@ int main() test_hash_collision >( N * 16, v, n ); #endif #ifdef HAVE_MULXP_HASH - test_hash_collision( N * 16, v, n ); test_hash_collision( N * 16, v, n ); - test_hash_collision( N * 16, v, n ); test_hash_collision( N * 16, v, n ); test_hash_collision( N * 16, v, n ); test_hash_collision( N * 16, v, n ); @@ -450,7 +430,7 @@ int main() typedef std::string K; - std::puts( "Container speed test:\n" ); + std::puts( "Container speed test:\n---\n" ); test_container_speed( N, v ); test_container_speed( N, v ); @@ -465,9 +445,7 @@ int main() test_container_speed >( N, v ); #endif #ifdef HAVE_MULXP_HASH - test_container_speed( N, v ); test_container_speed( N, v ); - test_container_speed( N, v ); test_container_speed( N, v ); test_container_speed( N, v ); test_container_speed( N, v );