From: "François Dumont" <frs.dumont@gmail.com>
To: libstdc++ <libstdc++@gcc.gnu.org>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH][_Hashtable] Avoid redundant usage of rehash policy
Date: Thu, 12 Oct 2023 19:02:01 +0200 [thread overview]
Message-ID: <499c4d3d-c912-4cc7-b12a-6dac678422d2@gmail.com> (raw)
In-Reply-To: <8046050f-c7e7-e41a-caf6-ddf087719597@gmail.com>
Now that abi breakage is fixed and hoping that Friday is review day :-)
Ping !
On 17/09/2023 22:41, François Dumont wrote:
> libstdc++: [_Hashtable] Avoid redundant usage of rehash policy
>
> Bypass usage of __detail::__distance_fwd and check for need to rehash
> when assigning an initializer_list to
> an unordered_multimap or unordered_multiset.
>
> libstdc++-v3/ChangeLog:
>
> * include/bits/hashtable_policy.h
> (_Insert_base<>::_M_insert_range(_InputIte, _InputIte,
> _NodeGen&)): New.
> (_Insert_base<>::_M_insert_range(_InputIte, _InputIte,
> true_type)): Use latter.
> (_Insert_base<>::_M_insert_range(_InputIte, _InputIte,
> false_type)): Likewise.
> * include/bits/hashtable.h
> (_Hashtable<>::operator=(initializer_list<value_type>)): Likewise.
> (_Hashtable<>::_Hashtable(_InputIte, _InputIte, size_type, const
> _Hash&, const _Equal&,
> const allocator_type&, false_type)): Likewise.
>
> Ok to commit ?
>
> François
>
prev parent reply other threads:[~2023-10-12 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-17 20:41 François Dumont
2023-10-12 17:02 ` François Dumont [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=499c4d3d-c912-4cc7-b12a-6dac678422d2@gmail.com \
--to=frs.dumont@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).