public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* All algorithm requires the important decaying to pointer optimization
@ 2020-11-27 22:00 sotrdg sotrdg
  0 siblings, 0 replies; only message in thread
From: sotrdg sotrdg @ 2020-11-27 22:00 UTC (permalink / raw)
  To: libstdc++, Jonathan Wakely

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-27 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27 22:00 All algorithm requires the important decaying to pointer optimization sotrdg sotrdg

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).