This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/50257] [C++0x] unordered_map slow initialization due to huge __prime_list


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]