r193576 - in /trunk/libstdc++-v3: ChangeLog inc...

fdumont@gcc.gnu.org fdumont@gcc.gnu.org
Fri Nov 16 21:28:00 GMT 2012


Author: fdumont
Date: Fri Nov 16 21:28:44 2012
New Revision: 193576

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193576
Log:
2012-11-16  François Dumont  <fdumont@gcc.gnu.org>

	* include/bits/hashtable_policy.h (_Prime_rehash_policy): Remove
	automatic shrink.
	(_Prime_rehash_policy::_M_bkt_for_elements): Do not call
	_M_next_bkt anymore.
	(_Prime_rehash_policy::_M_next_bkt): Move usage of
	_S_growth_factor ...
	(_Prime_rehash_policy::_M_need_rehash): ... here.
	* include/bits/hashtable.h (_Hashtable<>): Adapt.
	* testsuite/performance/23_containers/insert_erase/41975.cc: Add
	_USE_TR1 to force build using std::tr1 container.
	* testsuite/performance/23_containers/insert/unordered_set.cc:
	Likewise.
	* testsuite/performance/23_containers/insert/54075.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/performance/23_containers/insert/54075.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/hashtable.h
    trunk/libstdc++-v3/include/bits/hashtable_policy.h
    trunk/libstdc++-v3/testsuite/performance/23_containers/insert/unordered_set.cc
    trunk/libstdc++-v3/testsuite/performance/23_containers/insert_erase/41975.cc



More information about the Libstdc++-cvs mailing list