re PR libstdc++/54075 ([4.7.1] unordered_map insert still slower than 4.6.2)
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 29 Jul 2012 16:44:18 +0000 (16:44 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 29 Jul 2012 16:44:18 +0000 (16:44 +0000)
commit78aa145d9ecdbcacc8f9a06022feb3a8f8e2dab2
treee1573fe4e577579cd5aa5c3a14061a1736caa5c5
parent231464b2276ca9dc901182e006f811ad5caca637
re PR libstdc++/54075 ([4.7.1] unordered_map insert still slower than 4.6.2)

2012-07-29  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/54075
* include/bits/hashtable_policy.h
(_Prime_rehash_policy::_M_next_bkt): Add a growth factor set to 2
to boost growth in the number of buckets.
* testsuite/performance/23_containers/insert/unordered_set.cc: New.

From-SVN: r189938
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable_policy.h
libstdc++-v3/testsuite/performance/23_containers/insert/unordered_set.cc [new file with mode: 0644]