Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #79713

Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint

Path csiph.com!goblin2!goblin3!goblin.stu.neva.ru!gandalf.srv.welterde.de!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups comp.lang.c++
Subject Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint
Date Sat, 22 May 2021 07:49:37 -0700
Organization A noiseless patient Spider
Lines 26
Message-ID <86k0nqesce.fsf@linuxsc.com> (permalink)
References <s88esv$926$1@dont-email.me> <e8279ec5-045a-4140-96ac-ead29a5a91e8n@googlegroups.com> <s8a7fh$ip5$1@dont-email.me> <0239aad6-a183-46a0-9033-5fd08caccab8n@googlegroups.com> <s8aiil$q4o$1@dont-email.me> <7898175c-0606-4961-b592-930011b302b9n@googlegroups.com> <s8an8g$h0g$1@dont-email.me> <5965de44-3a81-4c98-be20-d9357e200c37n@googlegroups.com> <s8aufi$lh0$1@dont-email.me> <55f40253-5975-4b40-b529-be2d767c98d9n@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info reader02.eternal-september.org; posting-host="7f88e125b7b27a470ef723ae27ca2d53"; logging-data="25942"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JqLTBIYTBSj1l1z1wZiBeMxWBm7717aY="
User-Agent Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock sha1:ZHJZoXCkCLzC1eGzqKtj8TdrzlI= sha1:5mZ1zhTVYUpOyI+gomh7QAurQWc=
Xref csiph.com comp.lang.c++:79713

Show key headers only | View raw


Tiib <ootiib@hot.ee> writes:

> On Saturday, 22 May 2021 at 15:46:58 UTC+3, Bonita Montero wrote:
>
>>> I wrote "Even if implementation ignores that hint there is slight
>>> performance potential as it returns only iterator not
>>> pair<iterator,bool> like emplace. "
>>
>> Yes, and I've shown that the difference is just an move-instruction.
>> And this is the same difference when passing hint.
>>
>>> You groundlessly claimed that passing (allegedly unused) iterator
>>> there somehow outweights that advantage.
>>
>> Yes, because this is a identical move.
>>
>>> How I am arrogant and stupid? ...
>>
>> Yes, ultra-stupid.
>
> All your life you are doomed to claim groundless garbage and
> then to run from discussions with pathetic insults.  Does it feel
> good?

Which brings up the question, why then do you bother responding?
Or even reading the posts to begin with?

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Bonita Montero <Bonita.Montero@gmail.com> - 2021-05-21 16:08 +0200
  Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint "daniel...@gmail.com" <danielaparker@gmail.com> - 2021-05-21 12:59 -0700
  Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Öö Tiib <ootiib@hot.ee> - 2021-05-21 14:29 -0700
    Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Bonita Montero <Bonita.Montero@gmail.com> - 2021-05-22 08:14 +0200
      Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Bonita Montero <Bonita.Montero@gmail.com> - 2021-05-22 11:23 +0200
        Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Öö Tiib <ootiib@hot.ee> - 2021-05-22 03:32 -0700
          Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Bonita Montero <Bonita.Montero@gmail.com> - 2021-05-22 12:43 +0200
            Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Öö Tiib <ootiib@hot.ee> - 2021-05-22 05:11 -0700
              Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Bonita Montero <Bonita.Montero@gmail.com> - 2021-05-22 14:46 +0200
                Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Öö Tiib <ootiib@hot.ee> - 2021-05-22 05:57 -0700
                Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Tim Rentsch <tr.17687@z991.linuxsc.com> - 2021-05-22 07:49 -0700
                Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Öö Tiib <ootiib@hot.ee> - 2021-05-22 08:23 -0700
                Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Bonita Montero <Bonita.Montero@gmail.com> - 2021-05-22 15:04 +0200
                Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Öö Tiib <ootiib@hot.ee> - 2021-05-22 06:51 -0700
      Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Öö Tiib <ootiib@hot.ee> - 2021-05-22 02:11 -0700
    Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint "daniel...@gmail.com" <danielaparker@gmail.com> - 2021-05-22 05:28 -0700
      Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Öö Tiib <ootiib@hot.ee> - 2021-05-22 05:54 -0700
        Re: std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::emplace_hint Bonita Montero <Bonita.Montero@gmail.com> - 2021-05-22 15:06 +0200

csiph-web