Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.misc > #73898

Re: Hint For GNU/Linux Progrmmers

Path csiph.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From John Ames <commodorejohn@gmail.com>
Newsgroups comp.os.linux.misc
Subject Re: Hint For GNU/Linux Progrmmers
Date Thu, 11 Sep 2025 09:30:36 -0700
Organization A noiseless patient Spider
Lines 18
Message-ID <20250911093036.00006328@gmail.com> (permalink)
References <pan$88697$563f5c11$d06bbf9a$5d033190@gnu.rocks> <109uoqs$2n3c4$1@dont-email.me>
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Injection-Date Thu, 11 Sep 2025 16:30:40 +0000 (UTC)
Injection-Info dont-email.me; posting-host="3bb2d29411dda731a1fc1f1809338ba0"; logging-data="2836364"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194ghDDUNV3eJVVb1rUOodIEkwtD4iA84E="
Cancel-Lock sha1:cAXsXqMwT/lviF3iRxXnDi05/OA=
X-Newsreader Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32)
Xref csiph.com comp.os.linux.misc:73898

Show key headers only | View raw


On Thu, 11 Sep 2025 15:11:24 -0000 (UTC)
John McCue <jmclnx@gmail.com.invalid> wrote:

> I find O1 is good enough for all programs I create.
> 
> To, me, testing and retesting different optimizations is a
> huge waste of time and at most you might save 1 second :)

Even if you're an optimization freak (and there's nothing wrong with
that,) the efficacy of tweaks like loop unrolling is highly dependent
on machine particulars (cache size, etc.) - it's difficult if not
impossible to establish a one-size-fits-all recipe for True Optimum
Performance that could be handed out to non-freaks, as is being
suggested here. Some level of tweaking may be warranted (e.g. unrolling
loops in a way that suits the particular algorithm,) but there's little
point trying to generalize deep grease-monkey fine-tuning across *all
target systems* even for a single distro, let alone The World At Large.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Hint For GNU/Linux Progrmmers Lester Thorpe <lt@gnu.rocks> - 2025-09-10 12:33 +0000
  Re: Hint For GNU/Linux Progrmmers John McCue <jmclnx@gmail.com.invalid> - 2025-09-11 15:11 +0000
    Re: Hint For GNU/Linux Progrmmers John Ames <commodorejohn@gmail.com> - 2025-09-11 09:30 -0700
      Re: Hint For GNU/Linux Progrmmers c186282 <c186282@nnada.net> - 2025-09-12 00:25 -0400
    Re: Hint For GNU/Linux Progrmmers Lester Thorpe <lt@gnu.rocks> - 2025-09-11 18:42 +0000
    Re: Hint For GNU/Linux Progrmmers Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-11 22:38 +0000
      Re: Hint For GNU/Linux Progrmmers c186282 <c186282@nnada.net> - 2025-09-12 03:02 -0400
        Re: Hint For GNU/Linux Progrmmers Lester Thorpe <lt@gnu.rocks> - 2025-09-12 08:19 +0000
          Re: Hint For GNU/Linux Progrmmers Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-09-13 13:44 +0000
        Re: Hint For GNU/Linux Progrmmers Farley Flud <fsquared@fsquared.linux> - 2025-09-12 10:17 +0000
          Re: Hint For GNU/Linux Progrmmers c186282 <c186282@nnada.net> - 2025-09-12 06:51 -0400
          Re: Hint For GNU/Linux Progrmmers The Natural Philosopher <tnp@invalid.invalid> - 2025-09-12 15:45 +0100
            Re: Hint For GNU/Linux Progrmmers Farley Flud <fsquared@fsquared.linux> - 2025-09-12 15:20 +0000
              Re: Hint For GNU/Linux Progrmmers The Natural Philosopher <tnp@invalid.invalid> - 2025-09-13 07:57 +0100
            Re: Hint For GNU/Linux Progrmmers John Ames <commodorejohn@gmail.com> - 2025-09-12 10:11 -0700
    Re: Hint For GNU/Linux Progrmmers c186282 <c186282@nnada.net> - 2025-09-12 00:15 -0400

csiph-web