From: sotrdg sotrdg <euloanty@live.com>
To: libstdc++ <libstdc++@gcc.gnu.org>, Jonathan Wakely <jwakely@redhat.com>
Subject: All algorithm requires the important decaying to pointer optimization
Date: Fri, 27 Nov 2020 22:00:18 +0000 [thread overview]
Message-ID: <CH2PR02MB6522B27F6638404FB60A7B36B2F80@CH2PR02MB6522.namprd02.prod.outlook.com> (raw)
This is a manual optimization for std::sort.
Before optimization
https://godbolt.org/z/esx49G
After optimization
https://godbolt.org/z/PW8eh7
Binary size reduces for 1/3 which is extremely important since templates duplicates.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
reply other threads:[~2020-11-27 22:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CH2PR02MB6522B27F6638404FB60A7B36B2F80@CH2PR02MB6522.namprd02.prod.outlook.com \
--to=euloanty@live.com \
--cc=jwakely@redhat.com \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).