This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r189941 - in /branches/gcc-4_7-branch/libstdc++...
- From: fdumont at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Sun, 29 Jul 2012 17:06:21 -0000
- Subject: r189941 - in /branches/gcc-4_7-branch/libstdc++...
Author: fdumont
Date: Sun Jul 29 17:06:21 2012
New Revision: 189941
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189941
Log:
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.
Added:
branches/gcc-4_7-branch/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_set.cc
Modified:
branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
branches/gcc-4_7-branch/libstdc++-v3/include/bits/hashtable_policy.h