This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: small profile unordered_map patch


Hi,
>
>     I notice some useless code when I saw the latest
> profile/unordere_map patch. Here is the cleanup tested on x86_64/linux
> using only unordered_map tests and check-profile mode.
The patch is Ok, but please adjust the ChangeLog to something like:
   
    * include/profile/unordered_map (unordered_map<>::_M_profile_resize):
    Simplify, don't take a __new_size argument; adjust all callers.

Before committing the patch, remember to add yourself to MAINTAINERS, in
the "Write After Approval" section (please maintain the alphabetical
order), useful also to test that everything is fine in your SVN write
setup...

Thanks!
Paolo.



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