220 34897 <ab441c8f-4cf0-479f-908d-cc8e3c97ceb2@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: euloanty@live.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Thoughts on more methods towards containers in
 the future
Date: Sat, 14 Oct 2017 06:41:03 -0700 (PDT)
Lines: 105
Approved: news@gmane.org
Message-ID: <ab441c8f-4cf0-479f-908d-cc8e3c97ceb2@isocpp.org>
References: <973f04da-1354-44f4-9d1f-23f04596b8dc@isocpp.org>
 <20171014085305.GA24512@fukushima.lysator.liu.se>
 <79c51b8c-6cc2-4872-8651-9dae513d1e21@isocpp.org>
 <1550fc17-cf97-438d-9e7a-862f729adbf5@isocpp.org>
 <0cc942cf-a217-4175-98b0-b466ac224dc7@isocpp.org>
 <b50be367-9a0c-4d62-a392-d2b4471d7403@isocpp.org>
 <561eb731-f0fc-4c9e-8e5f-43083b64af17@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_6356_676853891.1507988463693"
X-Trace: blaine.gmane.org 1507988480 24059 195.159.176.226 (14 Oct 2017 13:41:20 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 14 Oct 2017 13:41:20 +0000 (UTC)
Cc: euloanty@live.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDPYX6PYRQNBB4FHRDHQKGQEF3N526A@isocpp.org Sat Oct 14 15:41:16 2017
Return-path: <std-proposals+bncBDPYX6PYRQNBB4FHRDHQKGQEF3N526A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f71.google.com ([209.85.213.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDPYX6PYRQNBB4FHRDHQKGQEF3N526A@isocpp.org>)
	id 1e3MgT-0003Qi-Lv
	for gclcip-std-proposals@m.gmane.org; Sat, 14 Oct 2017 15:40:57 +0200
Original-Received: by mail-vk0-f71.google.com with SMTP id 126sf4327110vkj.0
        for <gclcip-std-proposals@m.gmane.org>; Sat, 14 Oct 2017 06:41:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=u1s3YyQT4NAOZBbBQqAQlT4ppOyMoQ4saw6GRSgw3Jc=;
        b=gmE+oHij6tgDjFv+VJpQmhJ9ftTwWEs7YkcSoeNgK+DXQjtUzOYL9rcXgr0iWCY71a
         4bmDunK+GK+FLGDSAW+m8NvUflJhQK5i0k6X4+3FYL7H9wGva1Q3jGxWHHz9lZ/HzDmY
         yj1txUTYdni8vXoJeN8PeVmbWrcjGdNh9jhqn1CU8s8Es6pLiULiAQCMjbR80latp8XF
         r05191TKwHCQwmQDx1TsmGveFBbElOkYwqcA9LBfWt8P1qgMn4VYVe9QK2K6MvMnerHN
         PY3xVPPSxZXWN+sI8VI/uRpG80wBGFdNsu1dJQyJbLuRb2ZEvsTKbb1+5NytfjqfEFSV
         6xNQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to
         :references:subject:mime-version:x-original-sender:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=u1s3YyQT4NAOZBbBQqAQlT4ppOyMoQ4saw6GRSgw3Jc=;
        b=hkmY5JDkbhwtpGbX+ZLNmN3MxV1TWXP95YXp5I45/sKwml73M4Ai+H33KUswRg3ZgJ
         PTXzjJDf2wKV1Ud68+RXXV/cx9ABiTHTH4vja26e+Kf2JSSEyC/gWWCZo9uCr9b7fd0Y
         nBJGybdMzwnBwDhnltPxlEQlk7efACreS9is/RNHK6as6ChIyNEZC/LWPjQNuoFDoOvt
         LYBQsi+TvtnQloaN9fR2/FncfJxGNPptl/6Zmgd0UWkg507OjLVxQnkPz1G6/J2B/eeY
         H43cERaOSvGCMCSf9yHRHAvzpCPCB6hhBn/M2UANxtp54nttU3rXitQo5PqG1dNnhvEC
         BC3g==
X-Gm-Message-State: AMCzsaWal1zd0LjF4NAKLFnXXtWvZ69SbU1l3uv/a4VEJ1Q9JkqDrQzU
	wS9Q5uIciJTmbgCyZB/NQ1pz9w==
X-Google-Smtp-Source: AOwi7QD5Hmc1oMW0qMQZ6PdQd0kDidjcwBJR5qcZZyq5EMj454+ZXMOy8bA84I7Qf8upsvJi8g7vpA==
X-Received: by 10.31.9.211 with SMTP id 202mr2332158vkj.80.1507988465010;
        Sat, 14 Oct 2017 06:41:05 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.31.188.207 with SMTP id m198ls2379059vkf.21.gmail; Sat, 14 Oct
 2017 06:41:04 -0700 (PDT)
X-Received: by 10.31.161.87 with SMTP id k84mr289834vke.7.1507988464176;
        Sat, 14 Oct 2017 06:41:04 -0700 (PDT)
In-Reply-To: <561eb731-f0fc-4c9e-8e5f-43083b64af17@isocpp.org>
X-Original-Sender: euloanty@live.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:34897
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34897>

------=_Part_6356_676853891.1507988463693
Content-Type: multipart/alternative; 
	boundary="----=_Part_6357_1833108532.1507988463694"

------=_Part_6357_1833108532.1507988463694
Content-Type: text/plain; charset="UTF-8"

g++ 7.2

g++ , -O2


clang 4.9 -O2

VS 2017 -O2

They all cant optimize it


On Saturday, October 14, 2017 at 9:39:43 AM UTC-4, Todd Fleming wrote:

> If you benchmarked, then please report your timings, especially for 
> vector. Indicate which compiler including version you used and compiler 
> options.
>
> Todd
>
> On Saturday, October 14, 2017 at 9:27:44 AM UTC-4, ejsvifq mabmip wrote:
>>
>> https://github.com/euloanty/cqwrteur-vector/blob/master/deque.cc
>>
>> Try this code.
>>
>> BTW. deque is "slower" than vector because of this dumb check if
>>
>> On Saturday, October 14, 2017 at 9:24:37 AM UTC-4, eulo...@live.com 
>> wrote:
>>
>>> O2 wont eliminate this cost. It is not optimization issue. I always use 
>>> -O2 to compile my programs
>>>
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/ab441c8f-4cf0-479f-908d-cc8e3c97ceb2%40isocpp.org.

------=_Part_6357_1833108532.1507988463694
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>g++ 7.2</div><div><br></div><div>g++ , -O2</div><div>=
<br></div><div><br></div><div>clang 4.9 -O2</div><div><br></div><div>VS 201=
7 -O2</div><div><br></div><div>They all cant optimize it</div><div><br><br>=
On Saturday, October 14, 2017 at 9:39:43 AM UTC-4, Todd Fleming wrote:</div=
><blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bo=
rder-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr">If you bench=
marked, then please report your timings, especially for vector. Indicate wh=
ich compiler including version you used and compiler options.<div><br></div=
><div><div>Todd<br><br>On Saturday, October 14, 2017 at 9:27:44 AM UTC-4, e=
jsvifq mabmip wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0;mar=
gin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr=
"><div><a onmousedown=3D"this.href=3D&#39;https://www.google.com/url?q\x3dh=
ttps%3A%2F%2Fgithub.com%2Feuloanty%2Fcqwrteur-vector%2Fblob%2Fmaster%2Fdequ=
e.cc\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGBiMCI1zerDVpFHcXrHnfArSpJ3A&#=
39;;return true;" onclick=3D"this.href=3D&#39;https://www.google.com/url?q\=
x3dhttps%3A%2F%2Fgithub.com%2Feuloanty%2Fcqwrteur-vector%2Fblob%2Fmaster%2F=
deque.cc\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGBiMCI1zerDVpFHcXrHnfArSpJ=
3A&#39;;return true;" href=3D"https://github.com/euloanty/cqwrteur-vector/b=
lob/master/deque.cc" target=3D"_blank" rel=3D"nofollow">https://github.com/=
euloanty/<wbr>cqwrteur-vector/blob/master/<wbr>deque.cc</a></div><div><br><=
/div><div>Try this code.</div><div><br></div><div>BTW. deque is &quot;slowe=
r&quot; than vector because of this dumb check if<br><br>On Saturday, Octob=
er 14, 2017 at 9:24:37 AM UTC-4, <a>eulo...@live.com</a> wrote:</div><block=
quote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left=
:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">O2 wont eliminate this c=
ost. It is not optimization issue. I always use -O2 to compile my programs<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><br></div>=
</div></blockquote></div></blockquote></div></blockquote></div></div></div>=
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/ab441c8f-4cf0-479f-908d-cc8e3c97ceb2%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/ab441c8f-4cf0-479f-908d-cc8e3c97ceb2=
%40isocpp.org</a>.<br />

------=_Part_6357_1833108532.1507988463694--

------=_Part_6356_676853891.1507988463693--

.
