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

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 2021-05-22 07:49 -0700
Organization A noiseless patient Spider
Message-ID <86k0nqesce.fsf@linuxsc.com> (permalink)
References (5 earlier) <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>

Show all headers | 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