OSDN Git Service

2012-07-29 Fran├žois Dumont <fdumont@gcc.gnu.org>
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Jul 2012 17:06:21 +0000 (17:06 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Jul 2012 17:06:21 +0000 (17:06 +0000)
commiteaf837457545a2ef9314769049328b22c69c974f
treef7542d2f596e4d19f33050caff8578e5f57a38fc
parent70df34cd770e97b19c15f82d3c0758624d4acce6
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/branches/gcc-4_7-branch@189941 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]