2018-09-18 François Dumont <fdumont@gcc.gnu.org> PR libstdc++/87135 * src/c++11/hashtable_c++0x.cc: (_Prime_rehash_policy::_M_next_bkt): Return a prime no smaller than requested size, but not necessarily greater. (_Prime_rehash_policy::_M_need_rehash): Rehash only if target size is strictly greater than next resize threshold. * testsuite/23_containers/unordered_map/modifiers/reserve.cc: Adapt test to validate that there is no rehash as long as number of insertion is lower or equal to the reserved number of elements. From-SVN: r264413
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
allocator | Loading commit data... | |
cons | Loading commit data... | |
debug | Loading commit data... | |
erase | Loading commit data... | |
hash_policy | Loading commit data... | |
insert | Loading commit data... | |
modifiers | Loading commit data... | |
operations | Loading commit data... | |
operators | Loading commit data... | |
profile | Loading commit data... | |
requirements | Loading commit data... | |
48101-2_neg.cc | Loading commit data... | |
48101_neg.cc | Loading commit data... | |
55043.cc | Loading commit data... | |
59548.cc | Loading commit data... | |
dr761.cc | Loading commit data... | |
final_hash.cc | Loading commit data... | |
init-list.cc | Loading commit data... | |
observers.cc | Loading commit data... | |
pmr_typedefs.cc | Loading commit data... | |
pmr_typedefs_debug.cc | Loading commit data... | |
range_access.cc | Loading commit data... |