Article View: comp.lang.c++
Article #786Re: Faster lower_bound / upper_bound
From: Bonita Montero
Date: Sat, 07 Nov 2026 14:15
Date: Sat, 07 Nov 2026 14:15
13 lines
1784 bytes
1784 bytes
Am 06.11.2026 um 23:50 schrieb Oodini: > Le 02/11/2026 ร 10:24, Bonita Montero a รฉcritย : >> I wondered why lower_bound and upper_bound are almost twice as fast >> with clang-cl than with MSVC. I inspected the code and MSVC didn't >> use conditional moves (see below) and the non-predictible branches >> did really hurt. > Which version of MSVC ? 19.51.36260
Technical Details
Message-ID:
<11cnbp8$3g31l$1@raubtier-asyl.eternal-september.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mailReferences:
<11c9ks1$2nfti$1@raubtier-asyl.eternal-september.org> <6aee599f$0$28064$426a74cc@news.free.fr>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero <Bonita.Montero@gmail.com> Newsgroups: comp.lang.c++ Subject: Re: Faster lower_bound / upper_bound Date: Sat, 7 Nov 2026 15:15:06 +0100 Organization: A noiseless patient Spider Lines: 13 Message-ID: <11cnbp8$3g31l$1@raubtier-asyl.eternal-september.org> References: <11c9ks1$2nfti$1@raubtier-asyl.eternal-september.org> <6aee599f$0$28064$426a74cc@news.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 07 Nov 2026 14:15:05 +0000 (UTC) Injection-Info: raubtier-asyl.eternal-september.org; logging-data="3673141"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wa7m83uG4yerEQyLXBXZ72xrDib4dxd0="; posting-host="05d65fdac9a1b645448191276b0187d8" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:XeVF5uSFjMrAJXaDWMYFXVkdPIE= sha256:QPUdig+5Bi4xckRiyLJPqyVQChY38lW72DmxZpaEl2g= sha1:aMUiuMdn36K6L9EzMbNlh6TIZnY= sha256:Yfg2mIatdmpuby6iWgCYwsLgYo0doFoyWu0VomQ4hSQ= In-Reply-To: <6aee599f$0$28064$426a74cc@news.free.fr> Content-Language: de-DE