Article View: comp.lang.c++
Article #776Re: Faster lower_bound / upper_bound
From: Oodini
Date: Fri, 06 Nov 2026 22:50
Date: Fri, 06 Nov 2026 22:50
7 lines
1373 bytes
1373 bytes
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 ?
Technical Details
Message-ID:
<6aee599f$0$28064$426a74cc@news.free.fr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp.terraraq.uk!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp5-1.free.fr!not-for-mailReferences:
<11c9ks1$2nfti$1@raubtier-asyl.eternal-september.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp.terraraq.uk!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp5-1.free.fr!not-for-mail Date: Fri, 6 Nov 2026 23:50:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: svdbg_@free.fr Subject: Re: Faster lower_bound / upper_bound Newsgroups: comp.lang.c++ References: <11c9ks1$2nfti$1@raubtier-asyl.eternal-september.org> Content-Language: fr From: Oodini <svdbg@free.fr> In-Reply-To: <11c9ks1$2nfti$1@raubtier-asyl.eternal-september.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 7 Message-ID: <6aee599f$0$28064$426a74cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 06 Nov 2026 23:50:07 CET NNTP-Posting-Host: 89.88.146.136 X-Trace: 1794005407 news-2.free.fr 28064 89.88.146.136:10932 X-Complaints-To: abuse@proxad.net