2012-07-29 François Dumont <fdumont@gcc.gnu.org>
commit43b6a5fb728c0afe14351e65261504d1b757f81d
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Jul 2012 16:44:18 +0000 (29 16:44 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Jul 2012 16:44:18 +0000 (29 16:44 +0000)
treee1573fe4e577579cd5aa5c3a14061a1736caa5c5
parent80ceaff2c065798c58c88821116bf02977ee358a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189938 138bc75d-0d04-0410-961f-82ee72b054a4
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]