[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev coding style, ifdefs
From: |
Vlad Harchev |
Subject: |
Re: lynx-dev coding style, ifdefs |
Date: |
Sun, 17 Oct 1999 13:00:48 +0500 (SAMST) |
On Sat, 16 Oct 1999, Leonid Pauzner wrote:
> 16-Oct-99 12:40 Vlad Harchev wrote:
> >> foo(2);
> >> };
>
> > Nice thing! I forgot about this. But from performance reasons, your variant
> > is slightly worse (since compilers optimize in basic blocks, if NO_BAR is
> > defined, extra basic block will be created, that will increase code size,
> > execution time). Of course, gcc is smart to optimize accross basic blocks,
> > but
> > anyway it gives worse code even on gcc I believe.
>
> Inadequate thing: you save few [nano]seconds of compilation time
> but spend hours in reading/writing to/from lynx-dev
> and assume everyone want follow that way.
Of course compilation time is not important, execution time is.
OK, let's create more basic blocks as the cost for readability.
>[...]
Best regards,
-Vlad
- lynx-dev Siberian soldiers' time, (continued)
- lynx-dev coding style, ifdefs, Klaus Weide, 1999/10/16
- Re: lynx-dev coding style, ifdefs, Vlad Harchev, 1999/10/16
- Re: lynx-dev coding style, ifdefs, Klaus Weide, 1999/10/16
- Re: lynx-dev coding style, ifdefs, Vlad Harchev, 1999/10/16
- lynx-dev SGML.c changes (was coding style, ifdefs), Klaus Weide, 1999/10/17
- Re: lynx-dev SGML.c changes (was coding style, ifdefs), Vlad Harchev, 1999/10/17
- Re: lynx-dev coding style, ifdefs, Leonid Pauzner, 1999/10/16
- Re: lynx-dev coding style, ifdefs,
Vlad Harchev <=
- Re: lynx-dev coding style, ifdefs, Mike Castle, 1999/10/16
- Re: lynx-dev megapatch to dev.10 - and a rant, Leonid Pauzner, 1999/10/15
Re: lynx-dev megapatch to dev.10 available, Leonid Pauzner, 1999/10/16
- lynx-dev outgoing_mail_charset (was: megapatch), Klaus Weide, 1999/10/17
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Leonid Pauzner, 1999/10/17
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Klaus Weide, 1999/10/17
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Vlad Harchev, 1999/10/18
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Klaus Weide, 1999/10/18
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Vlad Harchev, 1999/10/18
TRST output (was: lynx-dev megapatch to dev.10 available), Leonid Pauzner, 1999/10/20