This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/50257] [C++0x] unordered_map slow initialization due to huge __prime_list
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Sep 2011 10:22:27 +0000
- Subject: [Bug libstdc++/50257] [C++0x] unordered_map slow initialization due to huge __prime_list
- Auto-submitted: auto-generated
- References: <bug-50257-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50257
--- Comment #13 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-09-06 10:22:27 UTC ---
Author: paolo
Date: Tue Sep 6 10:22:21 2011
New Revision: 178581
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178581
Log:
2011-09-06 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/50257
* include/bits/hashtable_policy.h (_Prime_rehash_policy::
_M_next_bkt): Optimize for small argument.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/hashtable_policy.h