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
Newsgroups: comp.lang.c++
Subject: Re: std::unordered_map::emplace_hint
Date: Sat, 22 May 2021 07:49:37 -0700
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <86k0nqesce.fsf@linuxsc.com>
References: <0239aad6-a183-46a0-9033-5fd08caccab8n@googlegroups.com> <7898175c-0606-4961-b592-930011b302b9n@googlegroups.com> <5965de44-3a81-4c98-be20-d9357e200c37n@googlegroups.com> <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
Tiib 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 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?